Blender Git Loki

Git Commits -> Revision ba7fd8c

Revision ba7fd8c by Shinsuke Irie (master)
November 12, 2013, 10:59 (GMT)
Change the behavior of AO pass in Blender internal's shader/render node tree so that it becomes (1.0, 1.0, 1.0) when AO is disabled.

For materials using AO pass, this makes the material preview and the GLSL
preview more accurate, but shouldn't affect final rendering in most cases
because we usually enable AO when using the AO pass in node tree.

Thanks to Brecht for code review.

Commit Details:

Full Hash: ba7fd8cd5c173730c8c2250eac7ea48fafd519c7
SVN Revision: 61235
Parent Commit: e177ac1
Lines Changed: +25, -12

3 Modified Paths:

/source/blender/gpu/shaders/gpu_shader_material.glsl (+10, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_material.c (+1, -0) (Diff)
/source/blender/render/intern/source/shadeoutput.c (+14, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021