UNPKG

playcanvas

Version:

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

15 lines (13 loc) 256 B
var envProcPS = ` #ifdef LIT_SKYBOX_INTENSITY uniform float skyboxIntensity; #endif vec3 processEnvironment(vec3 color) { #ifdef LIT_SKYBOX_INTENSITY return color * skyboxIntensity; #else return color; #endif } `; export { envProcPS as default };