Fix typo
This commit is contained in:
parent
8af67bfb2f
commit
23b4e6e26f
2 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@ uniform vec3 fg_SunDirectionWorld;
|
||||||
|
|
||||||
const float AP_SLICE_COUNT = 32.0;
|
const float AP_SLICE_COUNT = 32.0;
|
||||||
const float AP_MAX_DEPTH = 128000.0;
|
const float AP_MAX_DEPTH = 128000.0;
|
||||||
|
|
||||||
const int AERIAL_PERSPECTIVE_STEPS = 20;
|
const int AERIAL_PERSPECTIVE_STEPS = 20;
|
||||||
|
|
||||||
// pos_from_depth.glsl
|
// pos_from_depth.glsl
|
||||||
|
|
|
@ -54,5 +54,5 @@ void main()
|
||||||
base_color.rgb, metallic, roughness, occlusion,
|
base_color.rgb, metallic, roughness, occlusion,
|
||||||
vP, N, V, uv, ap_color, osg_ViewMatrixInverse);
|
vP, N, V, uv, ap_color, osg_ViewMatrixInverse);
|
||||||
|
|
||||||
fragColor = vec4(color, baseColor.a);
|
fragColor = vec4(color, base_color.a);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue