Jump to content

Shadows on a 3 problem


Recommended Posts

When I use useVarianceShadowMap to false, the shadows totally disappears.
setTransparencyShadow does not change anything. the shadows are projected by the plan and not by the textures of foliage with transparency, which gives not pretty results.
Result in image:

I did an example also with 2 trees scene, one that uses usevarianceShadowMap and one who uses it not but who do project no shadows.
I have noted that edge of shadows on any defect and are not smooth. It takes close textures value of 5000 (big texture) to have smoother shadows and less sawtooth.

but I noticed that the texture value increase more dark is the textures. a value of 1014 gives a less dark, but with the border very ugly shadows.

Example scene

Link to comment
Share on other sites

The latest version has correct the major problem shadows.


but there is a detail that I didn't include. a plan with a texture of foliage with transparency. the shadows are going to display a plan, not the foliage. that gives not pretty shadows.


there something to fix this? I thought that setTansparencyShadow was made for this. but I have the impression that this changes nothing. 


Thank you.

Link to comment
Share on other sites

Used to generate the transparency of my foliage I serves opacity. Therefore it does not work for shadows.


This would not be possible to supported this for shadows?


If you look at the second image, I have enable opacity that generates the transparency of the foliage.





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.

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.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...