Blender Git Commit Log

Git Commits -> Revision 99db1b8

Revision 99db1b8 by Mike Erwin (master)
October 9, 2016, 14:53 (GMT)
fix shaders for picky GLSL compilers

@zeauro reported this issue:
texture2DRect needs the ARB_texture_rectangle extension.
But isn't that an OpenGL 2.1 feature and should be part of GLSL 1.2+?

This should fix it, and future shaders should do something similar.

Commit Details:

Full Hash: 99db1b8d9566399f1587ca16df60787ce140e52f
Parent Commit: a2471d2
Lines Changed: +2, -0

2 Modified Paths:

/source/blender/gpu/shaders/gpu_shader_2D_texture_2D_frag.glsl (+1, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_texture_rect_frag.glsl (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021