adam Posted July 12, 2015 Share Posted July 12, 2015 Here is a playground I've been working on: http://www.babylonjs-playground.com/#OHYYQhttp://www.babylonjs-playground.com/#OHYYQ#1 Does anyone have a clever workaround for getting shadows to work with transparent materials? Could the shadow generator use a second material that is not transparent and then hidden? Quote Link to comment Share on other sites More sharing options...
iiceman Posted July 12, 2015 Share Posted July 12, 2015 You mean like that: http://www.babylonjs-playground.com/#OHYYQ#2 ? Just set:shadowGenerator.setTransparencyShadow(true); Quote Link to comment Share on other sites More sharing options...
adam Posted July 12, 2015 Author Share Posted July 12, 2015 Thank you! 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.