diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-13 11:40:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 11:40:14 +0200 |
commit | 2eeb9a8d0e831b9e149078bf635e3340a065fe4b (patch) | |
tree | f326f817918c6c5de4d4891a0c28204b21ef7b01 /modules/lightmapper_rd/lm_common_inc.glsl | |
parent | d742dcd3ceaa614d2688caed59ec0c75d4041985 (diff) | |
parent | 9e58b02252944ea128da186c056c4f46c482fbd0 (diff) |
Merge pull request #53322 from williamd67/GPULightmapper-skip-smoothen-positions-flat-triangle
Diffstat (limited to 'modules/lightmapper_rd/lm_common_inc.glsl')
-rw-r--r-- | modules/lightmapper_rd/lm_common_inc.glsl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/lightmapper_rd/lm_common_inc.glsl b/modules/lightmapper_rd/lm_common_inc.glsl index 22172d50e4..58523dc1f8 100644 --- a/modules/lightmapper_rd/lm_common_inc.glsl +++ b/modules/lightmapper_rd/lm_common_inc.glsl @@ -81,3 +81,7 @@ layout(set = 0, binding = 8) uniform texture2DArray albedo_tex; layout(set = 0, binding = 9) uniform texture2DArray emission_tex; layout(set = 0, binding = 10) uniform sampler linear_sampler; + +// Fragment action constants +const uint FA_NONE = 0; +const uint FA_SMOOTHEN_POSITION = 1; |