Blax Posted October 28, 2018 Share Posted October 28, 2018 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! Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted October 29, 2018 Share Posted October 29, 2018 hi https://www.babylonjs-playground.com/#4VGW28#5 i just make new ShadowGenerator but that need new light Blax and Dieterich 1 1 Quote Link to comment Share on other sites More sharing options...
Blax Posted October 29, 2018 Author Share Posted October 29, 2018 Hi! But.... but... i was try it! Oh... i'm sorry and thank you, @NasimiAsl! Now we need delete this post from forum, with my shame )))) How i can do this? ) NasimiAsl 1 Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted October 29, 2018 Share Posted October 29, 2018 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? ) Quote Link to comment Share on other sites More sharing options...
Blax Posted October 29, 2018 Author Share Posted October 29, 2018 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 ) 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.