Fix T62178 Eevee: Texture Box mapping not matching Cycles if object is scaled
The wrong transformation was used. Add a new matrix specially for this case. This also fix the Node texture coordinate that was suffering the same issue.
This commit is contained in:
@@ -107,6 +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),
|
||||
} eGPUBuiltin;
|
||||
|
||||
typedef enum eGPUMatFlag {
|
||||
|
Reference in New Issue
Block a user