[fix] specularIntensity is invalid with builtin-standard (#12971)

This commit is contained in:
jk20012001
2022-09-30 18:03:45 +08:00
committed by GitHub
parent 323d1d4054
commit 7403c21bb6
@@ -292,8 +292,8 @@ CCProgram standard-fs %{
#endif
s.occlusion = pbr.x;
s.roughness = pbr.y;
s.specularIntensity = 0.5;
s.metallic = pbr.z;
s.specularIntensity = pbr.w;
s.emissive = emissive.rgb * emissiveScaleParam.xyz;
#if USE_EMISSIVE_MAP