Hi again
Do you perhaps know where in the meshStandardMaterial
shader code can I find the equivalent of
#ifdef DOUBLE_SIDED
reflectedLight.directDiffuse = ( gl_FrontFacing ) ? vLightFront : vLightBack;
#else
reflectedLight.directDiffuse = vLightFront;
#endif
from the meshLambertMaterial
? In other words, iโd like to apply the same logic to the standard material, but im getting lost in all the #includes