Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Unity 5 Shader : Pulsing Emission range via scripting

$
0
0
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.

Viewing all articles
Browse latest Browse all 1875

Trending Articles



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