Destiny 2 material recreation WIP

@Niels is right about the if statement you want to avoid them unless absolutely necessary, an easy way to get your alpha is to use a ceil() after your threshold subtraction, and for the edges you can sample the gradient at zero and divide by a thickness value to generate the edge, this way you can control the gradient falloff on the edge as well.

15 Likes