10shu Posted June 14, 2017 Share Posted June 14, 2017 Hi, Go to little quiestion about shadows in leadwerks. 1-is it possible to cast the shadow of an alpha test textures? i tried to look if they was a shader to apply in the shadow shader slot in the material editor. but didnt find a shader That would do that... 2-I have notice a lot of shadow glitch. (please check the screenshot below) In my Project I have a multi level house and I can see some random artefact on the wall inside my house. Those artefact disapear when I move the light on the room above the artefact but they usually re appear when I reload the map. I can also sometime see some of those artefact appear when I add or move an object in the scene... are those already being reported? is there a way to fix those or limit them. Thank you ten Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted June 15, 2017 Share Posted June 15, 2017 The leaves shader in the vegetation is one of the alphamask shadows. I believe there is another one, but not sure what it is called. Quote Link to comment Share on other sites More sharing options...
macklebee Posted June 15, 2017 Share Posted June 15, 2017 1) The shadow shader you are looking for is the Shaders/Model/Shadow/shadow+alphamask.shader 2) Its difficult to understand the problem you are showing - it could very well be an issue with the model. May need the actual model to understand the problem. Quote 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...
10shu Posted June 15, 2017 Author Share Posted June 15, 2017 16 hours ago, AggrorJorn said: The leaves shader in the vegetation is one of the alphamask shadows. I believe there is another one, but not sure what it is called. thank you... I lll have a look Quote Link to comment Share on other sites More sharing options...
10shu Posted June 15, 2017 Author Share Posted June 15, 2017 53 minutes ago, macklebee said: 1) The shadow shader you are looking for is the Shaders/Model/Shadow/shadow+alphamask.shader 2) Its difficult to understand the problem you are showing - it could very well be an issue with the model. May need the actual model to understand the problem. 2-the bug appear on primitive....please check the screenshots screenshot01. it s a screenshot of my ceiling (it a primitive. you can clearly see the bug. screenshot02. i ve selected the object in the room just above the glitch and moved it up a few unit. screenshot03. the bug is not here anymore...so I saved...quit leadwerks...and relaunch it... screenshot04 the bug is back at the sameplace but now it look different. Any Ideas? Quote Link to comment Share on other sites More sharing options...
10shu Posted June 15, 2017 Author Share Posted June 15, 2017 could it be cause of those kind of thing? model inter penetration Quote Link to comment Share on other sites More sharing options...
10shu Posted June 15, 2017 Author Share Posted June 15, 2017 What the difference between a normal shadow and a buffered shadow? I ve fixed the issues at one place by switching the shadow from buffered to a normal shadow. And the issues seem not to comeback at this place when I reload the game. Quote Link to comment Share on other sites More sharing options...
10shu Posted June 17, 2017 Author Share Posted June 17, 2017 Ok the problem is resolved. I switched all the light to shadow without the buffer and now it s all good... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.