1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Implement MSAA

This commit is contained in:
Juan Linietsky
2020-04-12 15:33:57 -03:00
parent d160644c88
commit a57dc398db
14 changed files with 410 additions and 158 deletions

View File

@@ -198,11 +198,22 @@ class RasterizerSceneHighEndRD : public RasterizerSceneRD {
struct RenderBufferDataHighEnd : public RenderBufferData {
//for rendering, may be MSAAd
RID color;
RID depth;
RID specular;
RID normal_buffer;
RID roughness_buffer;
RS::ViewportMSAA msaa;
RD::TextureSamples texture_samples;
RID color_msaa;
RID depth_msaa;
RID specular_msaa;
RID normal_buffer_msaa;
RID roughness_buffer_msaa;
RID depth_fb;
RID depth_normal_fb;
RID depth_normal_roughness_fb;