Revert "Object Info node support for GLSL mode and the internal render"

This reverts commit 76425feed8.

** Note **
This was supposed to be a merge, but it was rebased.
This commit is contained in:
Dalai Felinto
2017-04-18 16:06:01 +02:00
parent b8fd6f94a0
commit bc6a75b405
20 changed files with 26 additions and 181 deletions

View File

@@ -3578,12 +3578,12 @@ void node_light_falloff(float strength, float tsmooth, out float quadratic, out
constant = strength;
}
void node_object_info(mat4 obmat, vec3 info, out vec3 location, out float object_index, out float material_index, out float random)
void node_object_info(out vec3 location, out float object_index, out float material_index, out float random)
{
location = obmat[3].xyz;
object_index = info.x;
material_index = info.y;
random = info.z;
location = vec3(0.0);
object_index = 0.0;
material_index = 0.0;
random = 0.0;
}
void node_normal_map(vec4 tangent, vec3 normal, vec3 texnormal, out vec3 outnormal)