pex-renderer icon indicating copy to clipboard operation
pex-renderer copied to clipboard

Allow depthTest and depthWrite in line material

Open vorg opened this issue 1 year ago • 0 comments

Currently they are hardcoded

getPipelineOptions() {
   return { depthWrite: true, depthTest: true };
},

//should be 

getPipelineOptions(entity) {
    return {
      depthWrite: !!entity.material.depthWrite,
      depthTest: !!entity.material.depthTest
   };
 },

allowing you for example debug mesh skeleton

Image

vorg avatar Jun 29 '24 11:06 vorg