This video, titled ‘I added Realistic Material Lighting to Minecraft – Code Your Own Shader Part 2’, was uploaded by Samuel Gerkin on 2024-09-06 02:55:26. It has garnered 27668 views and 1755 likes. The duration of the video is 01:01:04 or 3664 seconds.
Support future videos! 🙂 https://buymeacoffee.com/samuelgerkin
Learn from the ground up how to code a Minecraft shader with GLSL! Or just come along for the ride to see what goes into reimagining Minecraft’s visuals, and learn how a lot of games do graphics!
Theme Song “Sam with a Plan” by Hunter Gerkin https://huntergerkin.bandcamp.com
Other music courtesy of Mojang Studios
Wikipedia article in video: https://en.m.wikipedia.org/wiki/Phong_reflection_model
Resource Pack in middle of thumbnail and most of video: https://modrinth.com/resourcepack/weed-eater Resource Pack in right of thumbnail: https://modrinth.com/resourcepack/pixlli
The finished shader! (in alpha) – Requires labPBR resource pack for reflections! https://modrinth.com/shader/daybreak-shader/versions
BRDF Function to copy and paste: https://github.com/agentclone8/BRDF-Function
Base 150 Template: https://github.com/shaderLABS/Base-150 Base 330 Template: https://github.com/shaderLABS/Base-330
Space Conversion Cheat Sheet: https://shaderlabs.org/wiki/Coordinate_Spaces
3Blue1Brown Linear Alegebra Series: (for vector and matrix fluency): https://youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab&si=UGaq6eeVTxbgbIwQ
Optifine Doc (applies to Iris too): https://github.com/sp614x/optifine/blob/master/OptiFineDoc/doc/shaders.txt
ShaderDoc (for Iris): https://github.com/IrisShaders/ShaderDoc/blob/master/dh-support.md
Shader Labs (a great resource for learning about Minecraft shaders with a discord community!) https://shaderlabs.org/wiki/Main_Page
Mods: https://www.irisshaders.dev/ https://modrinth.com/mod/indium/versions https://modrinth.com/mod/sodium/versions https://modrinth.com/mod/fabric-api/versions https://modrinth.com/mod/distanthorizons/versions
00:00:00 – Start 00:00:28 – Directional Lighting! 00:10:06 – Directional Lighting for DH 00:11:13 – Resource Pack Support 00:16:33 – Organizing code! 00:19:04 – specular! 00:26:28 – BRDF! (better specular) 00:31:40 – Adding extra vanilla files 00:34:49 – More Organizing! 00:36:17 – Shadows! 00:54:04 – Separating Block and Sky light 00:56:36 – Colored Shadows!