UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

8 lines (6 loc) 150 B
var twoSidedLightingPS = ` fn handleTwoSidedLighting() { if (!pcFrontFacing) { dTBN[2] = -dTBN[2]; } } `; export { twoSidedLightingPS as default };