Blender Git Loki

Git Commits -> Revision 178bd84

Revision 178bd84 by Shinsuke Irie (master)
November 24, 2013, 17:21 (GMT)
Blender Internal: Revert own previous commit for "Camera Data" node, correct GLSL code for view vector output of "Geometry" node.

Revert 0c7d2de38219. The "Camera Data" node actually gives the location
of the point in camera coordinate system. To obtain actual camera data,
we can use "Geometry" node instead.

Also modify the "Geometry" node, to produce correct view vector output
in orthographic GLSL preview.

Commit Details:

Full Hash: 178bd849bf6fded4c7ffae44eedda2f55afa4629
Parent Commit: 61a28ef
Lines Changed: +4, -4

2 Modified Paths:

/source/blender/gpu/shaders/gpu_shader_material.glsl (+2, -2) (Diff)
/source/blender/nodes/shader/nodes/node_shader_camera.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021