diff --git a/addons/cyclops_level_builder/shaders/outline_shader.tres b/addons/cyclops_level_builder/shaders/outline_shader.tres index d8fca244..e9ba727a 100644 --- a/addons/cyclops_level_builder/shaders/outline_shader.tres +++ b/addons/cyclops_level_builder/shaders/outline_shader.tres @@ -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; } diff --git a/project.godot b/project.godot index d0361c1e..edbb8336 100644 --- a/project.godot +++ b/project.godot @@ -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