Blender Git Loki

Git Commits -> Revision 14c57b6

Revision 14c57b6 by Antonis Ryakiotakis (master)
October 7, 2014, 09:06 (GMT)
Fix T42074, textured lamps influncing other layers

The solution is to do the multiplication with the energy in the shader
after texture application.

We might be able to avoid setting dyncol completely, but this needs
better investigation. Some shader paths also look a bit redundant.

Also, texture mapping is not supported very well for light lamps, might
also need investigation.

Commit Details:

Full Hash: 14c57b6c783302a86175412d6f4abf70408f19d3
Parent Commit: 5e809c4
Lines Changed: +19, -7

2 Modified Paths:

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