openclonk/src/game
Lukas Werling 6847e50e79 Implement setting shader uniforms from script (#1206)
Uniform variables are read from the "Uniforms" proplist set on Scenario
or on individual objects. Proplist keys are uniform names. Values can
either be an int or an array of one to four ints in C4Script. In GLSL,
the uniforms then need a matching type (int/ivec2/ivec3/ivec4). There is
no error reporting; uniforms are only set if both name and type match.

The implementation walks the "Uniforms" proplists on each Draw call. We
may need to cache the uniform maps if this turns out to be too slow.
2016-11-12 22:09:23 +01:00
..
C4Application.cpp Replace NULL by nullptr in C++ sources 2016-11-02 19:58:02 -04:00
C4Application.h Qt Editor: Add user properties 2016-04-09 14:29:02 -04:00
C4FullScreen.cpp Replace NULL by nullptr in C++ sources 2016-11-02 19:58:02 -04:00
C4FullScreen.h Update all copyright notices for 2016 2016-04-03 20:24:42 +02:00
C4Game.cpp Replace NULL by nullptr in C++ sources 2016-11-02 19:58:02 -04:00
C4Game.h Replace NULL by nullptr in C++ sources 2016-11-02 19:58:02 -04:00
C4GameScript.cpp Script GUI: added TightGridLayout style (requirement of #1842) 2016-11-05 15:35:15 +01:00
C4GameScript.h Add InitializePlayers callback after all initial players have joined 2016-07-22 00:13:57 -04:00
C4GameVersion.h Update all copyright notices for 2016 2016-04-03 20:24:42 +02:00
C4GraphicsSystem.cpp Replace NULL by nullptr in C++ sources 2016-11-02 19:58:02 -04:00
C4GraphicsSystem.h Update all copyright notices for 2016 2016-04-03 20:24:42 +02:00
C4Physics.h Update all copyright notices for 2016 2016-04-03 20:24:42 +02:00
C4Viewport.cpp Implement setting shader uniforms from script (#1206) 2016-11-12 22:09:23 +01:00
C4Viewport.h Replace NULL by nullptr in C++ sources 2016-11-02 19:58:02 -04:00
ClonkMain.cpp Replace NULL by nullptr in C++ sources 2016-11-02 19:58:02 -04:00