Im trying to get a pulsing emission shader with a randomiser to mimic the effect of a candle inside an object. I created the shader already and it works but when I applying the following code to the object it turn purple when I press play.
![alt text][1]
Here is the shader code:
![alt text][2]
[1]: /storage/temp/56628-javascript-flicker.png
[2]: /storage/temp/56629-shadder.png
I cant seem to access the EmissiveIntensity and change the range of it.
↧