diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-08-25 15:16:47 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-08-25 15:22:21 +0300 |
commit | 99b1f9f4f46fecd2d6fc1b3c7d37dc191887e4a9 (patch) | |
tree | b688594c23ffa535e5529458b2b62ea324dbbfb3 /source/blender/gpu/shaders | |
parent | 4e975b6b44206438b77c63f7a2944421937d5579 (diff) |
Revert "Eevee: Fix generated coordinates when no texture coordinates connected"
This reverts commit 0e29a97813d2a2df77afe64d49d1683687ed37ab.
Diffstat (limited to 'source/blender/gpu/shaders')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_material.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_material.glsl b/source/blender/gpu/shaders/gpu_shader_material.glsl index d4151e90257..2470b607b07 100644 --- a/source/blender/gpu/shaders/gpu_shader_material.glsl +++ b/source/blender/gpu/shaders/gpu_shader_material.glsl @@ -2472,7 +2472,7 @@ void generated_from_orco(vec3 orco, out vec3 generated) #ifdef VOLUMETRICS generated = worldPosition; #else - generated = orco * 0.5 + 0.5; + generated = orco; #endif } |