Blender Git Loki

Git Commits -> Revision 9829ba3

Revision 9829ba3 by Sergey Sharybin (master)
October 10, 2012, 05:56 (GMT)
Color Management: fixed color management-less texture rendering

There was a missing check for whether color management enabled or not when
converting byte textures to linear space.

This commit also fixes wrong texture preview rendering, which was applying
sRGB transform twice, making procedural textures bright. This will make
float textures being previewed dark (in a linear space) but that's how it
used to behave in pre-OCIO color management.

Commit Details:

Full Hash: 9829ba31b9654fd402ef6ca5cee78cc474d01225
SVN Revision: 51242
Parent Commit: 7dc19e0
Lines Changed: +15, -16

5 Modified Paths:

/source/blender/editors/render/render_preview.c (+2, -11) (Diff)
/source/blender/render/intern/include/render_types.h (+3, -0) (Diff)
/source/blender/render/intern/source/envmap.c (+1, -0) (Diff)
/source/blender/render/intern/source/pipeline.c (+4, -0) (Diff)
/source/blender/render/intern/source/render_texture.c (+5, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021