Jump to content

(4.3) Child Entities Do Not Cast Shadows


T0X1N
 Share

Recommended Posts

This is not new to this update. Children objects will use the parent's shadowmode settings. The pivot inherently has SetShadowMode set to Light.None. Set the pivot shadow mode to the appropriate setting for your child object and you will see the shadow.

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

Everything was working fine before this update. After updating to 4.3 I am having this issue. I had made sure that the pivot or any parent entity had shadowmode set to "static" and child entities do not render shadows. The children entities are set to "static" too. I am able to recreate this issue if I had another model with "Static" shadows in place of the pivot. Two models, the parent casts shadows, but the child does not.

Play Our Latest Game: Relic Rogue

Link to comment
Share on other sites

This has come up before regarding child shadows, so its not new to this update. As for what you are showing above, I can have child shadows in the latest update and earlier versions if I set the parent shadow to something other than none.

post-14-0-82155000-1486233514_thumb.jpg

The only thing I can think of is what you are seeing might be related to reeplue's bug post that the latest update isn't updating shadows in the editor: http://www.leadwerks.com/werkspace/topic/15713-shadow-update-editor-issues/ . Granted, I can not reproduce what he is describing.

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

Yep - now that I can reproduce. My guess is that this is related to what reepblue is experiencing with his bug report as well - part of the optimization I would assume. http://www.leadwerks.com/werkspace/blog/41/entry-1879-leadwerks-game-engine-43-released/

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

Good! I'm glad I am not the only one now! smile.png

 

It sounds Reepblue's issue was just with the editor, but not in-game. The problem is, my issue happens in-game too, not just the editor. I have a bunch of torches and other objects in my maps have parent entities. Before this update, they were working great, casting nice shadows. However, after this update, they do not cast shadows. So now everything looks flat.

Play Our Latest Game: Relic Rogue

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...