T0X1N Posted February 4, 2017 Share Posted February 4, 2017 This is a bug that is found in the new update (4.3). Models with either "Dynamic" or "Static" never cast shadows if it has a parent. By removing the parent and have the model by itself, it casts shadows. Sames goes for CSG brushes. See screenshots: Website | Twitter | Facebook | Steam Play Our Latest Game: Relic Rogue Link to comment Share on other sites More sharing options...
macklebee Posted February 4, 2017 Share Posted February 4, 2017 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 More sharing options...
T0X1N Posted February 4, 2017 Author Share Posted February 4, 2017 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. Website | Twitter | Facebook | Steam Play Our Latest Game: Relic Rogue Link to comment Share on other sites More sharing options...
macklebee Posted February 4, 2017 Share Posted February 4, 2017 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. 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 More sharing options...
T0X1N Posted February 4, 2017 Author Share Posted February 4, 2017 Change the light in your scene to a point light. It seems the issue I am having is with point lights and spot lights in this update. Website | Twitter | Facebook | Steam Play Our Latest Game: Relic Rogue Link to comment Share on other sites More sharing options...
macklebee Posted February 4, 2017 Share Posted February 4, 2017 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 More sharing options...
T0X1N Posted February 4, 2017 Author Share Posted February 4, 2017 Good! I'm glad I am not the only one now! 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. Website | Twitter | Facebook | Steam Play Our Latest Game: Relic Rogue Link to comment Share on other sites More sharing options...
macklebee Posted February 4, 2017 Share Posted February 4, 2017 Yes - this is new with the point and spot lights (not the child using the parent's shadowmode). I just hope this wasn't the big optimization that is being touted for 4.3, because if so... 2 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 More sharing options...
Josh Posted February 6, 2017 Share Posted February 6, 2017 I believe this is fixed. Will update tonight on the beta branch. 1 My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts