mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-03 10:41:15 +00:00
Changede renderer
This commit is contained in:
parent
3d6e594a48
commit
25e4dd808f
2 changed files with 1 additions and 3 deletions
|
|
@ -35,7 +35,7 @@ void fragment() {
|
||||||
// LinearSceneDepth:4
|
// LinearSceneDepth:4
|
||||||
{
|
{
|
||||||
float __log_depth = textureLod(depth_tex_frg_4, SCREEN_UV, 0.0).x;
|
float __log_depth = textureLod(depth_tex_frg_4, SCREEN_UV, 0.0).x;
|
||||||
vec4 __depth_view = INV_PROJECTION_MATRIX * vec4(vec3(SCREEN_UV, __log_depth) * 2.0 - 1.0, 1.0);
|
vec4 __depth_view = INV_PROJECTION_MATRIX * vec4(SCREEN_UV * 2.0 - 1.0, __log_depth, 1.0);
|
||||||
__depth_view.xyz /= __depth_view.w;
|
__depth_view.xyz /= __depth_view.w;
|
||||||
n_out4p0 = -__depth_view.z;
|
n_out4p0 = -__depth_view.z;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -414,7 +414,5 @@ common/physics_jitter_fix=0.0
|
||||||
[rendering]
|
[rendering]
|
||||||
|
|
||||||
textures/canvas_textures/default_texture_filter=0
|
textures/canvas_textures/default_texture_filter=0
|
||||||
renderer/rendering_method="gl_compatibility"
|
|
||||||
renderer/rendering_method.mobile="gl_compatibility"
|
|
||||||
occlusion_culling/use_occlusion_culling=true
|
occlusion_culling/use_occlusion_culling=true
|
||||||
2d/snap/snap_2d_vertices_to_pixel=true
|
2d/snap/snap_2d_vertices_to_pixel=true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue