diff options
author | Avril <avril@wp.eu> | 2018-12-29 15:37:50 +0100 |
---|---|---|
committer | Avril <avril@wp.eu> | 2018-12-29 15:37:50 +0100 |
commit | 971c05dc5e693c6d32e4f420bc083243b0e222c8 (patch) | |
tree | 2dae4cecba631af2b8f51f1bb0c61aa2cf9598a4 /drivers/gles2/shaders | |
parent | ee6f1fa3f8a7aa48ed9becb0039f39e1c7f395cc (diff) |
fixes glsl syntax error
Diffstat (limited to 'drivers/gles2/shaders')
-rw-r--r-- | drivers/gles2/shaders/scene.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles2/shaders/scene.glsl b/drivers/gles2/shaders/scene.glsl index 4f334d2be2..5cdf4ff04d 100644 --- a/drivers/gles2/shaders/scene.glsl +++ b/drivers/gles2/shaders/scene.glsl @@ -1254,7 +1254,7 @@ LIGHT_SHADER_CODE float YdotH = dot(B, H); float D = D_GGX_anisotropic(cNdotH, ax, ay, XdotH, YdotH, cNdotH); //float G = G_GGX_anisotropic_2cos(cNdotL, ax, ay, XdotH, YdotH) * G_GGX_anisotropic_2cos(cNdotV, ax, ay, XdotH, YdotH); - float G = V_GGX_anisotropic(ax, ay, dot(T, V), dot(T, L), dot(B, V), dot(B, L), cNdotV, cNdotL)) + float G = V_GGX_anisotropic(ax, ay, dot(T, V), dot(T, L), dot(B, V), dot(B, L), cNdotV, cNdotL); #else float alpha = roughness * roughness; |