Jump to content

2 Question regarding shadow


10shu
 Share

Recommended Posts

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

 

Capture.PNG

Link to comment
Share on other sites

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.

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

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? 

 

Captureceiling.PNG

Capture2.PNG

Captureceiling3.PNG

Captureceiling4.PNG

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...