Closed deathcap closed 10 years ago
Fixed, here's what an example transparent texture now looks like:
Note this is the same as voxel-texture:
Very nice!
Sent from my iPhone
On Feb 22, 2014, at 7:02 PM, deathcap notifications@github.com wrote:
Fixed, here's what an example transparent texture now looks like:
Note this is the same as voxel-texture:
— Reply to this email directly or view it on GitHub.
voxel-texture creates a MeshFaceMaterial with two materials:
and uses the first if !isTransparent, second otherwise. They only differ in that
transparent: true
is set in the material parameters.voxel-texture-shader always uses the first material, with
transparent: false
, so it cannot handle alpha transparency. However the vertex shader does include:for full transparency (glass), but it won't work for, e.g., water.
Should restore the secondary transparent material parameters.