Unity Discussions
how to get the ambient light color in the vertex shader and pix shader
Unity Engine
Shaders
anon_87796119
November 17, 2010, 3:06pm
1
?
zephiro
November 17, 2010, 3:16pm
2
you can use built-in variable
UNITY_LIGHTMODEL_AMBIENT
Related topics
Topic
Replies
Views
Activity
Ambient light in fragment shader
Unity Engine
Shaders
1
2630
June 4, 2009
Ambient color
Unity Engine
Shaders
2
2217
October 31, 2009
About UNITY_LIGHTMODEL_AMBIENT content
Unity Engine
Graphics
2
793
August 18, 2017
Per Material Ambient Color
Unity Engine
Shaders
6
7484
June 16, 2009
How to get the ambient light intensity in a custom light model?
Unity Engine
Shaders
2
2628
January 18, 2019