1
0
Fork 0
This commit is contained in:
Fernando García Liñán 2023-04-11 17:59:44 +02:00
parent 8af67bfb2f
commit 23b4e6e26f
2 changed files with 2 additions and 1 deletions

View file

@ -23,6 +23,7 @@ uniform vec3 fg_SunDirectionWorld;
const float AP_SLICE_COUNT = 32.0;
const float AP_MAX_DEPTH = 128000.0;
const int AERIAL_PERSPECTIVE_STEPS = 20;
// pos_from_depth.glsl

View file

@ -54,5 +54,5 @@ void main()
base_color.rgb, metallic, roughness, occlusion,
vP, N, V, uv, ap_color, osg_ViewMatrixInverse);
fragColor = vec4(color, baseColor.a);
fragColor = vec4(color, base_color.a);
}