You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if its possible to access the properties of lights in the scene within a ShaderMaterial. I'm working on a toon shader in GLSL and wanted to use the lights in the same manner as the default shaders.
Is there any special mechanism to do this or does one just declare the uniforms using the same names as the built in shaders?
The text was updated successfully, but these errors were encountered:
I was wondering if its possible to access the properties of lights in the scene within a ShaderMaterial. I'm working on a toon shader in GLSL and wanted to use the lights in the same manner as the default shaders.
Is there any special mechanism to do this or does one just declare the uniforms using the same names as the built in shaders?
The text was updated successfully, but these errors were encountered: