How to look into shader variables??


any ideas how to look into shader variables?? My object is complete dark and there is no light. There needs to be something wrong and i need to look into the variables to see where the problem is. Or maybe someone of you can find it by just viewing the code:


i’m stupid. I mixed some variable names. But nonetheless it would be good to look into variables. Can someone explain to me how to do so??

take a look at this:

You need a debugger where you can set breakpoints and view variables.