GL3 Shaders Tutorials | Phong Lighting - Part 03: Recap + Specular Light

Feb 9, 2020

Hello dear everybody,

this is the third episode of the Phong Lighting Shader series, in which we implement the specular light after a short recap.

In the end we also see how to automatically move the light around in the scene.

Hope you find it useful, and for every question I'm here.

Enjoy!

[EDIT] Something happening between the version of Max in the tutorial and Max 8.5.5 broke this shader and made Max crash.
This was the line I changed to avoid Max crashing:
mat3         normalMatrix = transpose(inverse(mat3x3(modelViewMatrix)));

Now the normal matrix is simply passed by Max to the shader:
<param name="normalMatrix"              type="mat3" state="NORMAL_MATRIX" />

Become a patron to

262
Unlock 262 exclusive posts
Be part of the community
Connect via private message
Tiers
Curious Patcher 👀
€4 per month
Reward

Thank you for your support!

With this pledge you are supporting Amazing Max Stuff in the creation of new learning material, and you get:

- Access to all my 4€ patches.

- Access to my Discord channel where you can suggest me video or patches content or pose questions, and interact with the other patrons.

After you supported the channel for more than 20€ in your pledge lifetime, you will be invited into a special Discord channel, where I share the Fidelity Folder that contains all the patches I ever created.

So it pays back to stick around for a while!

Includes Discord benefits
Professional Patcher 💪
€8 per month
Reward

Thank you so much for the awesome support!

With this Tier you get:

- Access to all my 8€ patches, which are more complex than the tiers below.

- Access to my Discord channel where you can suggest me video or patches content or pose questions, and interact with the other patrons.

After you supported the channel for more than 20€ in your pledge lifetime, you will be invited into a special Discord channel, where I share the Fidelity Folder that contains all the patches I ever created.

So it pays back to stick around for a while!

Includes Discord benefits
Top Supporter 🌟
€20 per month
Reward

Thank you so much for the incredible support!

Hope you can find the patches for this tier useful and interesting. 

They are generally bigger and more complex patches, or works in progress on which I'm still working on. 

- You've got all the benefits of lower tiers.

- Access to my 20€ more complex patches.

- Access to my Discord channel where you can suggest me video or patches content or pose questions, and interact with the other patrons.

After you supported the channel for more than 20€ in your pledge lifetime, you will be invited into a special Discord channel, where I share the Fidelity Folder that contains all the patches I ever created.

So it pays back to stick around for a while!

Includes Discord benefits
One-To-One Monthly On-Line Lesson 🎓
€100 per month
Reward

Thank you so much for this great pledge!

This grants you a one-to-one one hour online lesson per month. I can help you with your project or explain you some specific concept about visuals in Max. Before you apply for this tier let's have a short chat in which you explain me what I can help you with. 

- You've got all the benefits of lower tiers, so access to all my patches.

- Access to my Discord channel where you can suggest me video or patches content or pose questions, and interact with the other patrons.

After you supported the channel for more than 20€ in your pledge lifetime, you will be invited into a special Discord channel, where I share the Fidelity Folder that contains all the patches I ever created.

With this tier you just need to join the Discord and I'll give you immediate access.

Includes Discord benefits
Recent Posts