mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2026-10-10 05:03:04 +08:00
fix incorrect vanilla AO value for LODs
This commit is contained in:
@@ -230,7 +230,7 @@ void main() {
|
||||
gl_FragData[1].a = 0.0;
|
||||
|
||||
vec4 specularData = vec4(0.0,0.0,0.0,0.0);
|
||||
vec4 otherData = vec4(normals.xyz * 0.5 + 0.5,1.0);
|
||||
vec4 otherData = vec4(normals.xyz * 0.5 + 0.5,0.0);
|
||||
|
||||
#if EMISSIVE_TYPE == 0
|
||||
specularData.a = 0.0;
|
||||
|
||||
@@ -106,7 +106,7 @@ void voxy_emitFragment(VoxyFragmentParameters parameters) {
|
||||
#endif
|
||||
|
||||
vec4 specularData = vec4(0.0,0.0,subSurfaceScattering,0.0);
|
||||
vec4 otherData = vec4(normal.xyz * 0.5 + 0.5,1.0);
|
||||
vec4 otherData = vec4(normal.xyz * 0.5 + 0.5,0.0);
|
||||
|
||||
specularData = clamp(specularData,0.0,1.0);
|
||||
otherData = clamp(otherData,0.0,1.0);
|
||||
|
||||
Reference in New Issue
Block a user