提交 f9190b50 编写于 作者: T Takahiro

Revert "Fix diffuse shader code of Specular-Glossiness"

This reverts commit 8360b532.
上级 037d33b6
PhysicalMaterial material;
#ifdef STANDARD_SG
material.diffuseColor = diffuseColor.rgb;
material.diffuseColor = diffuseColor.rgb * ( 1.0 - max( max( specular2Factor.r, specular2Factor.g ), specular2Factor.b ) );
material.specularRoughness = clamp( 1.0 - glossinessFactor, 0.04, 1.0 );
material.specularColor = specular2Factor.rgb;
#else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册