Jump to content

shadow from box not visible


al404
 Share

Recommended Posts

I remeber we had that question before, too:

 

And the answer was this:

On 13.3.2015 at 6:55 PM, Deltakosh said:

...

4. Shadows are not drawn actually. They block the lighting. So to see the ground, just add some emissiveColor to the material of the ground

So I don't think it's possible, sorry :( Maybe somebody else has a good idea for a workaround.

Link to comment
Share on other sites

sorry but can't also understand why my mesh, is a loaded mesh of a logo, does has this issue

the logo is curved but the shadow is not

seems that increasing map number gets butter 

var shadowGenerator = new BABYLON.ShadowGenerator(10240, d1);

 

Voila_Capture 2016-04-22_03-59-48_PM.png

Link to comment
Share on other sites

if i try to change bias or get too high with map value the shadow is not displayed

i try with 

shadowGenerator.bias = 1;

shadowGenerator.bias = 0.1;

shadowGenerator.bias = 0.01;

but once is set the shadow in not display

Link to comment
Share on other sites

i don't have PB because i'm loading some resources locally 

shadowGenerator.bias = 0.0003;

this i s the maximum amount that it seems to handle, could it be an issue from model? maybe it doesn't has enough faces?

in screenshot you can see model that it doesn't seem like a straight line but has segments

is it possible to add a blur to the shadow?

 

Voila_Capture 2016-04-22_05-02-06_PM.png

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.

Loading...
 Share

  • Recently Browsing   0 members

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