Moving lens distortion shader into drivers and adding GLES2 support
This commit is contained in:
parent
a16dc807e5
commit
a6df366b23
18 changed files with 202 additions and 107 deletions
|
|
@ -59,6 +59,7 @@ public:
|
|||
virtual void restore_render_target();
|
||||
virtual void clear_render_target(const Color &p_color);
|
||||
virtual void blit_render_target_to_screen(RID p_render_target, const Rect2 &p_screen_rect, int p_screen = 0);
|
||||
virtual void output_lens_distorted_to_screen(RID p_render_target, const Rect2 &p_screen_rect, float p_k1, float p_k2, const Vector2 &p_eye_center, float p_oversample);
|
||||
virtual void end_frame(bool p_swap_buffers);
|
||||
virtual void finalize();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue