deathcap / voxel-texture-shader

custom shader for texturing voxels in voxeljs (for three.js-based voxel-engine, no longer needed with voxel-engine-stackgl)
MIT License
8 stars 1 forks source link

Z-fighting adjacent transparent/opaque texture faces #8

Open deathcap opened 10 years ago

deathcap commented 10 years ago

mesher: transgreedy useTransparency: true

screen shot 2014-02-25 at 6 41 44 pm

side: THREE.DoubleSide

deathcap commented 10 years ago

side: THREE.FrontSide seems to fix z-fighting at opaque/transparent interface, but still occurs between transparent/transparent meshes:

screen shot 2014-02-25 at 7 10 02 pm