fix issues on AMD, temporary ambient sss brightness slider

This commit is contained in:
Xonk
2023-06-05 23:34:26 -04:00
parent ab35096ee6
commit 9448fb105a
9 changed files with 43 additions and 38 deletions

View File

@ -216,7 +216,7 @@ void main() {
#ifdef Variable_Penumbra_Shadows
if (NdotL > 0.0 || LabSSS >= 0.0) {
if (NdotL > 0.0 || LabSSS > 0.0) {
vec3 p3 = mat3(gbufferModelViewInverse) * fragpos + gbufferModelViewInverse[3].xyz;