Calculating Normals in the Shader - GameMaker Tutorial
Ever wished you could calculate a face normal in the shader itself? It's quick, easy, and in some ways it's less work than passing them to the shader as a vertex attribute!
Github repository:
https://github.com/DragoniteSpam-GameMaker-Tutorials/3DTutorial57ShaderNormals
Shader derivatives:
https://youtu.be/V81cUdlTPAU
Shader playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrdkihto8Xu7hhp1-5Gj8zsa
GameMaker 3D playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrcML9uqHe4fwBVTm650Vy3V
GameMaker Studio 2 playlist:
https://www.youtube.com/playlist?list=PL_hT--4HOvrdAGC6YHCqn_VR69GlR_rQw
0:00 Introduction
0:56 Limitations
2:08 We're going to use shader derivatives
2:23 Our bog-standard 3D scene without a normal attribute
3:41 Calculating normals with shader derivatives
10:29 The end
#GameMaker
#GameMakerShaders
#GameMakerNormals
- - - - -
I've now made that Patreon:
https://www.patreon.com/wizardragon
That promised social media link spam.
https://twitter.com/DragoniteSpam
Transition / idle music is by my old friend Kamex:
https://www.youtube.com/user/GreatGabite/about
Rate, comment, subscribe, watch more, enjoy!
Other Videos By DragoniteSpam
Other Statistics
The Game Maker - The 18th Carol Reed Mystery Statistics For DragoniteSpam
At this time, DragoniteSpam has 607,718 views for The Game Maker - The 18th Carol Reed Mystery spread across 404 videos. The game makes up over 5 days of published video on his channel, or 11.07% of the total watchable video for The Game Maker - The 18th Carol Reed Mystery on DragoniteSpam's YouTube channel.


