UNPKG

playcanvas

Version:

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

20 lines (18 loc) 313 B
var envProc_default = ( /* glsl */ ` #ifdef LIT_SKYBOX_INTENSITY uniform float skyboxIntensity; #endif vec3 processEnvironment(vec3 color) { #ifdef LIT_SKYBOX_INTENSITY return color * skyboxIntensity; #else return color; #endif } ` ); export { envProc_default as default };