Composit Target and gamma correct rendering

This commit is contained in:
Simon Lübeß
2022-05-31 22:41:20 +02:00
parent 8db2ce1d05
commit e41645e12a
18 changed files with 750 additions and 30 deletions
+1 -1
View File
@@ -453,7 +453,7 @@ namespace GlitchyEngine.Renderer
*/
public static void DrawLine(Vector3 start, Vector3 end, Color color)
{
DrawLine(Vector4(start, 1.0f), Vector4(end, 1.0f), color, .Identity);
DrawLine(Vector4(start, 1.0f), Vector4(end, 1.0f), (ColorRGBA)color, .Identity);
}
/** @brief Draws a line.