1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #55029 from clayjohn/VULKAN-SRGB

Add SHADER_IS_SRGB define to Vulkan renderer
This commit is contained in:
Rémi Verschelde
2021-11-17 08:46:23 +01:00
committed by GitHub
5 changed files with 11 additions and 1 deletions

View File

@@ -6,6 +6,8 @@
#include "scene_forward_clustered_inc.glsl"
#define SHADER_IS_SRGB false
/* INPUT ATTRIBS */
layout(location = 0) in vec3 vertex_attrib;
@@ -358,6 +360,8 @@ void main() {
#VERSION_DEFINES
#define SHADER_IS_SRGB false
/* Specialization Constants (Toggles) */
layout(constant_id = 0) const bool sc_use_forward_gi = false;