3
\$\begingroup\$

I've made a custom skydome in my game. For all my lights I have set them to not affect the skydome. The only thing affecting the skydome is the ambient light.

For my game I have ambient intensity at 0.8, but this makes my skydome much darker than the original texture. What I want to do is to set the ambient intensity for the skydome to 1.0 and for all other objects to 0.8.

Is there any way I can say before drawing the skydome set ambient intensity to 1.0, and right after set it back to 0.8? Or is there perhaps a simpler solution? :)

\$\endgroup\$
2
  • 2
    \$\begingroup\$ Can you not make it ignore the lighting in the skydome material? \$\endgroup\$
    – John Smith
    Commented Jul 31, 2015 at 11:25
  • 1
    \$\begingroup\$ I changed the material to use "Unlit/Texture" shader, and now it looks exactly like I want. Thanks! \$\endgroup\$ Commented Jul 31, 2015 at 14:31

1 Answer 1

3
\$\begingroup\$

The skydome material's shader should be set to Unlit/Texture to ignore the lighting.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .