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

shadow casted by mesh with skeleton not proper

$
0
0

I am loading a mesh from a babylon file

The mesh has a skeleton.

The shadow casted by it is not proper.

See file "with_skel.jpg" to check the shadow casted.

Now if i remove the skeleton by doing

mesh.skeleton=null;

The shadow is proper.

See file "without_skel.jpg"

I was able to reproduce the issue in playground but wasn't able to save the  code. I got the error message "file too big" when trying to save.
The code is a little large as it has an embedded scene file.

So I have attached the code here. See file "playground_code,txt" 
Copy the code to playground to check.

comment on/off line 44 to see the issue

 

 

with_skel.jpg

without_skel.jpg

playground_code.txt


Viewing all articles
Browse latest Browse all 760

Trending Articles



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