You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Add support for contrast-adaptive sharpening in 3D (GLES3 only)
This is an older, easier to implement variant of CAS as a pure fragment shader. It doesn't support upscaling, but we won't make use of it (at least for now). The sharpening intensity can be adjusted on a per-Viewport basis. For the root viewport, it can be adjusted in the Project Settings. Since `textureLodOffset()` isn't available in GLES2, there is no way to support contrast-adaptive sharpening in GLES2.
This commit is contained in:
@@ -577,6 +577,7 @@ public:
|
||||
virtual void render_target_set_msaa(RID p_render_target, VS::ViewportMSAA p_msaa) = 0;
|
||||
virtual void render_target_set_use_fxaa(RID p_render_target, bool p_fxaa) = 0;
|
||||
virtual void render_target_set_use_debanding(RID p_render_target, bool p_debanding) = 0;
|
||||
virtual void render_target_set_sharpen_intensity(RID p_render_target, float p_intensity) = 0;
|
||||
|
||||
/* CANVAS SHADOW */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user