UNPKG

@animech-public/playcanvas

Version:
2 lines (1 loc) 197 B
var t="\n\tfloat depth = getLinearScreenDepth();\n\tfloat particleDepth = vDepth;\n\tfloat depthDiff = saturate(abs(particleDepth - depth) * softening);\n\ta *= depthDiff;\n";export{t as default};