UNPKG

playcanvas

Version:

PlayCanvas WebGL game engine

15 lines (13 loc) 274 B
var envProcPS = ` #ifdef LIT_SKYBOX_INTENSITY uniform skyboxIntensity : f32; #endif fn processEnvironment(color : vec3f) -> vec3f { #ifdef LIT_SKYBOX_INTENSITY return color * uniform.skyboxIntensity; #else return color; #endif } `; export { envProcPS as default };