Sign in to follow this  
iiceman

Shadow of invisible mesh

Recommended Posts

Hi again,

just a quick (maybe weird) question: I want an invisible mesh to cast a shadow and cant get it to work. As soon as I set visibility on the mesh or alpha on the material to something else than 1, I don't get a shadow anymore. Am I doing something wrong or is this maybe intended like that? What could be a work around to get my shadow without the user seeing the mesh.

Playground example here: http://playground.babylonjs.com/#I2H3M

Share this post


Link to post
Share on other sites

Thank you guys! Again a quick and helpful answer, very nice!

 

@JCPalmer, I was in a hurry and just threw that playground together after it didn't work in my actual project, thanks for fixing things up! :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.