Themaister
7559ca12ef
Refactor sRGB FBO handling a bit.
2014-05-11 19:35:54 +02:00
Themaister
bc8bb13050
Add mipmapping and sRGB FBO support.
2014-05-11 13:39:04 +02:00
Twinaphex
4d46c36917
(360) Build fix
2014-05-08 20:56:55 -07:00
TroggleMonkey
c15d188ecf
Refactored duplicate Cg/GLSL LUT texture loading code into shader_common.c.
...
Fixed a bug where "Apply Shader Changes" in RGUI saved/set the wrong
texture filter for LUT textures.
Unofficially extended Cg shader spec with an LUT mipmap option:
To mipmap LUT "foo," add 'foo_mipmap = "true"' to your .cgp/.glslp file.
Mipmapping is currently implemented for the OpenGL driver only.
2014-05-08 13:41:04 -04:00
twinaphex
39c1ec4672
Pass data param to more shader functions
2014-03-07 05:51:56 +01:00
twinaphex
ea88399281
(XDK D3D) Refactor initing code completely - make it more inline
...
with PC D3D driver
2014-03-07 05:31:24 +01:00
twinaphex
0a15a17d44
Update years on all license headers
2014-01-01 01:50:59 +01:00
Themaister
551fd27204
Add support for wrapping modes.
...
Not terribly useful atm due to POT, but at least it's there.
Has some use mostly with LUTs ... NPOT + REPEAT requires extension on
GLES2 at least.
2013-08-16 00:30:54 +02:00
Themaister
6b4924c844
Be more conservative about texture memory usage.
2013-08-11 00:56:53 +02:00
Themaister
6dd7ea935e
Add GL_SHADER_STOCK_BLEND.
...
Replace stock shader with a special shader which does not apply color.
This is a necessary on Android.
2013-04-20 15:46:50 +02:00
Themaister
a148abf131
Fix build.
...
Need to include config.h.
2013-04-13 00:01:28 +02:00
twinaphex
a5bbc7da5f
(HLSL) Fix build - work with new shader backend
2013-04-12 21:56:43 +02:00
Themaister
f88ea04c28
Remove fixed shader index in set_shader.
2013-04-07 13:00:21 +02:00
Themaister
e649db253c
Reintroduce CGP refactor.
...
Fix several issues that caused crashes.
2013-04-06 12:00:10 +02:00
twinaphex
0340f2043c
Revert "Major refactor to CGP parsing."
...
This reverts commit 211e17250c
.
2013-04-06 04:37:17 +02:00
Themaister
211e17250c
Major refactor to CGP parsing.
...
Adds saving functionality for CGPs.
2013-04-01 15:34:02 +02:00
Themaister
551a464978
Rework index parameter to set_shader().
2013-01-08 04:08:15 +01:00
Themaister
0b4cf2d053
Update license headers to 2013.
2013-01-01 01:41:15 +01:00
Themaister
3e77039a42
Rewrite how gl.c interfaces with shader backends.
2012-11-14 22:51:08 +01:00