- Home /
Help, how get color from gi probe light ?
hi, how do i get the color of a light probe? I am using this code and I can get the color, however very dark, and I wanted the same color as when selecting the object that is much lighter.
SphericalHarmonicsL2 probe=new SphericalHarmonicsL2(); LightProbes.GetInterpolatedProbe(transform.position,null, out probe); Color color=new Color(probe[0,0],probe[1,0],probe[2,0]);
1111.png
(36.1 kB)
Comment
Your answer
Follow this Question
Related Questions
problem with light and shadow in Mobile project! 0 Answers
NGUI objects are dark 1 Answer
Point Lights just dont work 3 Answers
Unity Light problem? 1 Answer
Realtime point light + transparent shadow problem? 0 Answers