XTender Posted October 18, 2018 Share Posted October 18, 2018 Hi, how can I achieve it that a Mesh casts shadows but is complete invisible. I tried it with a material and alpha = 0 but then the shadow also disappear. I try to create a simple "Blob" shadow for a complex player Character. Quote Link to comment Share on other sites More sharing options...
Dieterich Posted October 18, 2018 Share Posted October 18, 2018 that's what I got http://www.babylonjs-playground.com/#PY2MKZ#3 Quote Link to comment Share on other sites More sharing options...
Dieterich Posted October 18, 2018 Share Posted October 18, 2018 I think that's what you were looking for .. you can update the 'visibility' in sphere example. http://www.babylonjs-playground.com/#PY2MKZ#5 Arte, XTender and GameMonetize 2 1 Quote Link to comment Share on other sites More sharing options...
Guest Posted October 18, 2018 Share Posted October 18, 2018 Flagging as solved THanks a lot @Dieterich Dieterich 1 Quote Link to comment Share on other sites More sharing options...
XTender Posted October 19, 2018 Author Share Posted October 19, 2018 Thanks, setTransparencyShadow was it what I was missing. Quote Link to comment Share on other sites More sharing options...
Dieterich Posted October 19, 2018 Share Posted October 19, 2018 Hi @XTender For the next questions: If you have the code in playground, please share this, for quickly answer Welcome to the forum! GameMonetize 1 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.