Alexander Szpakowski
|
6560019829
opengl graphics module files now always include OpenGL.h rather than GLee.h
|
12 years ago |
Alexander Szpakowski
|
9143442448
Add internal support for tesselation control and evaluation shaders (not that they'll ever be used), now that GLee has definitions for them
|
12 years ago |
Alexander Szpakowski
|
15a1fd3552
Re-added "pixeleffect" graphics isSupported string for compatibility
|
12 years ago |
Alexander Szpakowski
|
d62878fbb8
Use GLSL #line preprocessor directive instead of manually trying to convert error message lines; flag shader objects for lazy-deletion after linking with program object instead of detaching them immediately (debuggers can now view source code of shader programs)
|
12 years ago |
Alexander Szpakowski
|
f54c270042
minor cleanup and fixes
|
12 years ago |
Alexander Szpakowski
|
3047321e71
Use initializer list copy constructor instead of per-element copying for shader source list in ShaderEffect constructor
|
12 years ago |
Alexander Szpakowski
|
83204c5dc5
ShaderEffects now take a dynamically sized list of source codes instead of one vertex and one fragment shader string
|
12 years ago |
Alexander Szpakowski
|
b55de47fb9
misc cleanup
|
12 years ago |
Alexander Szpakowski
|
0c525ebb92
shaders now use a static vector of counters for each texture unit to help keep track of completely free texture units
|
12 years ago |
Alexander Szpakowski
|
79fa42d207
made ShaderEffects individully handle texture units for sent images/canvases, added GL helper function for quickly binding a texture to a specific texture unit, hopefully made ShaderEffects load and unload volatile better
|
12 years ago |
Alexander Szpakowski
|
16f925affa
improved GL texture binding api to take texture units into consideration
|
12 years ago |
Alexander Szpakowski
|
5626b74b79
reduced unnecessary usage of glUseProgram, shadereffect is now properly detached in unloadVolatile and reattached if necessary in loadVolatile, made current and max texture units static to prevent different shaders from overwriting the value of different texture units
|
12 years ago |
Alexander Szpakowski
|
5252ed28cd
changed shadereffect texture image unit counter and map to be non-static, get max texture units from max combined TIUs instead of max fragment shader TIUs, added the current MVP matrix as an argument to the vertex shader transform function, reduced code duplication in ShaderEffect::sendImage and sendCanvas
|
12 years ago |
Alexander Szpakowski
|
0611234067
changed PixelEffect name to ShaderEffect, added lua-side support for vert/frag shader combinations with love.graphics.newShaderEffect, added tentative support for single-file vertex+fragment shaders
|
12 years ago |