Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2019-05-08 20:33:54 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-05-08 21:13:32 +0300
commit7e380fd46a6f5353eceaec383c40f20bf6c1551f (patch)
tree5d16028b66ff2886752f5515dd524625a648d48e /source/blender/gpu/GPU_material.h
parent24aeb479be2b87d406196240c1a4c20e1688514e (diff)
GPU: Remove GPU_INVERSE_NORMAL_MATRIX
The end goal for this is to lower the number of needed matrices. This also cleanup some uneeded transformation.
Diffstat (limited to 'source/blender/gpu/GPU_material.h')
-rw-r--r--source/blender/gpu/GPU_material.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_material.h b/source/blender/gpu/GPU_material.h
index da61dc76422..1640209c717 100644
--- a/source/blender/gpu/GPU_material.h
+++ b/source/blender/gpu/GPU_material.h
@@ -107,7 +107,7 @@ typedef enum eGPUBuiltin {
GPU_VOLUME_TEMPERATURE = (1 << 18),
GPU_BARYCENTRIC_TEXCO = (1 << 19),
GPU_BARYCENTRIC_DIST = (1 << 20),
- GPU_INVERSE_NORMAL_MATRIX = (1 << 21),
+ GPU_WORLD_NORMAL = (1 << 21),
} eGPUBuiltin;
typedef enum eGPUMatFlag {