Files
fs2open.github.com/code/parse
asarium 3fcb731621 Refactor shader handling
This fixes a few of the bad design descisions of previous shader
iterations. This uses a dedicated class for managing the resources and
uniform locations of a shader program.

Uniforms are also stored in this object which makes a lot more sense
than storing them in the OpenGL state where they had to be reset every
time a new shader was used.

There are still a lot of possible enhancments to make, e.g. by using
uniform blocks and buffers instead of standard uniforms which would make
uniform location handling easier.

Another optimization that I will investigate is reducing the amount or
different compiled shaders by turning some of the current compile-time
defines into bool uniforms.
2016-08-29 12:38:38 +02:00
..
2011-10-03 13:40:33 +00:00
2012-10-21 07:58:11 +00:00
2016-08-29 12:38:38 +02:00
2016-08-09 23:55:38 +02:00
2016-08-26 15:04:36 +03:00
2015-06-03 17:38:52 -05:00