diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-02-22 20:51:20 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-02-23 21:10:02 +0300 |
commit | af061b4dac140c5acea21f69257bfc5c18b3fe1c (patch) | |
tree | b37010940b6f984f866367621912296111c7424b /source/blender/gpu/intern | |
parent | a44b08a6c473c0aae9f98dc13f9d000e5ea639bc (diff) |
Eeevee: add temperature grid support, make color grid unpremultiplied.
This matches similar changes done for Cycles.
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_codegen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index 9e4daa2a036..ce75d944747 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -427,6 +427,8 @@ const char *GPU_builtin_name(GPUBuiltin builtin) return "sampdensity"; else if (builtin == GPU_VOLUME_FLAME) return "sampflame"; + else if (builtin == GPU_VOLUME_TEMPERATURE) + return "unftemperature"; else return ""; } |