Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Changing material intensity by multiplying color doesn't change intensity slider

$
0
0
I've looked into how to change a material's emission intensity via code, and all the examples say to multiply the color by an intensity value.

The issue is that this changes the color in the same way as the moving intensity slider would, but doesn't actually change the intensity slider value. What this means, is that now I cannot read the intensity of a color changed this way because the slider remains set at 0.

How do I set and read the value of the intensity slider independently of the...

Changing material intensity by multiplying color doesn't change intensity slider

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>