diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-04-03 12:04:42 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-04-03 22:52:03 +0300 |
commit | 46cd87f5da6338577581055c6b0f453e29c7bc49 (patch) | |
tree | ff33f1b97f36ce15d4c3f60c3ce4738209566292 /source/blender/gpu/GPU_texture.h | |
parent | a78e97b206b188f3da050888fa8c61b0f237902a (diff) |
Eevee: LTC area lights
Using Linear Transform Cosines to compute area lighting. This is far more accurate than other techniques but also slower.
We use rotating quad to mimic sphere area light. For a better approximation, we use a rotating octogon.
Diffstat (limited to 'source/blender/gpu/GPU_texture.h')
-rw-r--r-- | source/blender/gpu/GPU_texture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h index 6295c5aac12..93cc8443643 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -66,6 +66,7 @@ typedef enum GPUTextureFormat { GPU_RGBA8, GPU_RG32F, GPU_RG16F, + GPU_R16F, GPU_R8, #if 0 GPU_RGBA32F, @@ -87,7 +88,6 @@ typedef enum GPUTextureFormat { GPU_R32F, GPU_R32I, GPU_R32UI, - GPU_R16F, GPU_R16I, GPU_R16UI, GPU_R16, |