Jump to content

Few shadow and transparent shadow


Blax
 Share

Recommended Posts

Hi!

Please show direction in this problem:

https://www.babylonjs-playground.com/#4VGW28#4

We have transparent plane and not transparent cube. In real shadows must be look like in attached picture.
How we can get it?

I trying:
1. find in forum ))
2. use two ShadowGenerator for one light (ha-ha) )
3. use two identical lights and two ShadowGenerator for every light with one shadow reciever

but I did not succeed (

How we can dispose this barrier?

in ideas - use two light, shadowGen's, reciever's and mix computed texture from one recievers for other. But i think its wrong wrong and long decission ))
i feel: must be simple right way!! ))

Thank you for any ideas!

Выделение_005.png

Link to comment
Share on other sites

20 minutes ago, NasimiAsl said:

nothing to shame and please keep this in forum because that is so useful 

and this can make a issue ( why we cant make 2 different shadow generator with one light? )

yes, few shadowgens for one light will be useful. Separate settings for generators with different shadowcasters. 
As sample - we can emulate transparent shadow (more light shadow) for some objects without real transparency.
But... we can use 2 similar or clone light - it can be made simple )

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...