Implementation of source frame buffer; rendering of source and scene

integration
This commit is contained in:
brunoherbelin
2020-04-25 11:52:47 +02:00
parent 9b3eba8d1e
commit 0e24d1a083
19 changed files with 283 additions and 109 deletions

View File

@@ -136,6 +136,7 @@ bool Rendering::Init()
// Antialiasing
glEnable(GL_LINE_SMOOTH);
glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST);
// This hint can improve the speed of texturing when perspective-correct texture coordinate interpolation isn't needed
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_FASTEST);
// This hint can improve the speed of shading when dFdx dFdy aren't needed in GLSL