How to have normal alpha gradient?

Recommended Posts

Thanks Nasimi! Unfortunately I can't get it to work in my project. I'm using Typescript and the "CustomMaterial" constructor doesn't resolve. Even when I tried ignoring the errors it apparently isn't a constructor:

Uncaught TypeError: BABYLON.CustomMaterial is not a constructor

I switched the playground to be the same version of Babylon I'm using too, so not sure what's going on there.

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

  • Recently Browsing   0 members

    No registered users viewing this page.