Quantcast
Channel: Bugs Latest Topics
Viewing all articles
Browse latest Browse all 760

Shadows and spot lights with ShaderBuilder

$
0
0

@NasimiAsl,

Shadows and spot lights do not work on the ground. I gave you an example on the playground.

http://www.babylonjs-playground.com/#E6OZX#87

terrain.material.specularColor = new BABYLON.Color3(0.5, 0.5, 0.5);
terrain.material.specularPower = 64;

do not work also

And In fact the lighting has no effect on the ground, so the textures are pale.

Thanks


Viewing all articles
Browse latest Browse all 760

Trending Articles



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