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

shadowGenerator self shadows

$
0
0

Objects which at the same time produce and receive shadows show some strange glitches.

http://babylonjs-playground.azurewebsites.net/#1SGTPA#9

I tested it on Nvidia NVS3100M  and Intel HD Graphics (1 st gen.)  On each of those cards the  the size of circles is different,  but looks bad anyway.


When you comment lines 92,93:

  //  shadowGenerator.getShadowMap().renderList.push(plane);
  //  shadowGenerator.getShadowMap().renderList.push(videoPlane);

Planes start to look ok, but it is not a solution at all, in case of more complicated meshes/scenes selfshadowing is an important feature.
Only in very limited scenes it is possible to make it good by disabling some meshes shadows.
 

 

 

selfshadows.jpg


Viewing all articles
Browse latest Browse all 760

Trending Articles



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