UNPKG
utk-render
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
FiveM Realtime GameView for HTML
github.com/felipecoder/utk_render_npm
felipecoder/utk_render_npm
utk-render
/
src
/
module
/
renderers
/
shaders
/
ShaderChunk
/
lightmap_fragment.glsl.js
8 lines
(5 loc)
•
225 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
export
default
/* glsl */
`
#
ifdef
USE_LIGHTMAP
reflectedLight.indirectDiffuse += PI *
texture2D
( lightMap, vUv2 ).xyz * lightMapIntensity;
// factor of PI should not be present; included here to prevent breakage
#
endif
`;