Home Coding, Scripting, Shaders

ShaderFX 3dsMax : LightDir seems to be inverted

poopipe
grand marshal polycounter
Offline / Send Message
poopipe grand marshal polycounter
this is in 2019

i was porting one of my maya shaders over and noticed some weird shit so i built a simple example.

as you can see,  the light is lighting going in the wrong direction ..  as far as i know I've not done anything weird - the lighting calculation in the graph is pictured below (i'm aware it should really be called NdotL but that doesn't make any difference to the numbers)

what's going on here and can i fix it? 



same graph loaded in maya


Replies

Sign In or Register to comment.