Changede renderer

This commit is contained in:
Marco 2025-08-12 14:49:29 +02:00
commit 25e4dd808f
2 changed files with 1 additions and 3 deletions

View file

@ -35,7 +35,7 @@ void fragment() {
// LinearSceneDepth:4
{
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;
n_out4p0 = -__depth_view.z;
}

View file

@ -414,7 +414,5 @@ common/physics_jitter_fix=0.0
[rendering]
textures/canvas_textures/default_texture_filter=0
renderer/rendering_method="gl_compatibility"
renderer/rendering_method.mobile="gl_compatibility"
occlusion_culling/use_occlusion_culling=true
2d/snap/snap_2d_vertices_to_pixel=true