mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
[fix] specularIntensity is invalid with builtin-standard (#12971)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user