You've already forked godot
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user