[Bf-blender-cvs] [99b1f9f4f46] blender2.8: Revert "Eevee: Fix generated coordinates when no texture coordinates connected"

Dalai Felinto noreply at git.blender.org
Fri Aug 25 14:22:34 CEST 2017


Commit: 99b1f9f4f46fecd2d6fc1b3c7d37dc191887e4a9
Author: Dalai Felinto
Date:   Fri Aug 25 14:16:47 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB99b1f9f4f46fecd2d6fc1b3c7d37dc191887e4a9

Revert "Eevee: Fix generated coordinates when no texture coordinates connected"

This reverts commit 0e29a97813d2a2df77afe64d49d1683687ed37ab.

===================================================================

M	source/blender/gpu/shaders/gpu_shader_material.glsl

===================================================================

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
 }



More information about the Bf-blender-cvs mailing list