ThreeJS: Use a ShaderMaterial as an alphaMap inside a MeshPhongMaterial

133 Views Asked by At

Let's say we have a black and white Shader on a sphere. Is it possible to use it as an alphaMap on a MeshPhongMaterial for another sphere?

Can we use a ShaderMaterial as an alphaMap of a MeshPhongMaterial, like we use a MeshPhongMaterial.map for an alphaMap?

0

There are 0 best solutions below