Quantcast
Channel: Babylon.js
Viewing all articles
Browse latest Browse all 388

SpotLight issue

$
0
0

Hi, Babylon.JS Fellows :)

I want to make image vignetting and animation with help of SpotLight.

I have been playing a lot with Babylon spot light and cannot avoid sharp inner circle where light begin decrease.

Check this out: http://www.babylonjs-playground.com/#1IC7R#1

Light falls off  to the dark very smooth, but starts falling off with sharp line. I tried to play with properties, but cannot get result of smooth beginning of falling off.  When I use this light in animation, I can clearly see this sharp line, where lite begins to decrease, and it is bad. Maybe someone know what can I do with it. changing of position, exponent, angle, intensity properties does not resolve this strange behavior.

Thank you!

 


Viewing all articles
Browse latest Browse all 388

Trending Articles



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