Files
cocos4/editor/assets/chunks/legacy/lightingmap-vs.chunk
T
jk20012001 3cf9aaee4e arrange chunks (#11551)
* arrange chunks

* update compiled shaders

* code style
2022-06-16 22:14:09 +08:00

12 lines
309 B
Plaintext

out vec3 v_luv;
void CCLightingMapCaclUV()
{
#if !USE_INSTANCING
v_luv.xy = cc_lightingMapUVParam.xy + a_texCoord1 * cc_lightingMapUVParam.z;
v_luv.z = cc_lightingMapUVParam.w;
#else
v_luv.xy = a_lightingMapUVParam.xy + a_texCoord1 * a_lightingMapUVParam.z;
v_luv.z = a_lightingMapUVParam.w;
#endif
}