Commit graph

6 commits

Author SHA1 Message Date
Areloch
ea6a04e478 Merge pull request #2037 from Areloch/BaseGameToDate
Base game to date
2017-07-09 03:44:56 -05:00
Areloch
ebe541924f * Implementation of sRGB image support. Overhauls the linearization setup to utilize the sRGB image types, as well as refactors the use of ColorF and ColorI to be properly internally consistent. ColorIs are used only for front-facing/editing/UI settings, and ColorFs, now renamed to LinearColorF to reduce confusion of purpose, are used for color info in the engine itself. This avoids confusing and expensive conversions back and forth between types and avoids botches with linearity. Majority work done by @rextimmy 2017-07-08 02:56:09 -05:00
Johxz
aebbd7c53e Fix unable to load texture warnmat 2017-06-23 21:13:30 -05:00
Areloch
ea595143e8 Re-adds some bits from the old templates that were missed when doing the BaseGame template. 2017-03-26 17:53:01 -05:00
Areloch
6f09e8e3e7 Move the common shader and postFX stuff to core, and moved the debug visualizers to the world editor, where they're actually used. 2017-02-27 15:29:35 -06:00
Areloch
d680dc9934 Initial implementation of the new Base Game Template and some starting modules.
This makes some tweaks to the engine to support this, specifically, it tweaks the hardcoded shaderpaths to defer to a pref variable, so none of the shader paths are hardcoded.

Also tweaks how post effects read in texture files, removing a bizzare filepath interpretation choice, where if the file path didn't start with "/" it forcefully appended the script's file path. This made it impossible to have images not in the same dir as the script file defining the post effect.

This was changed and the existing template's post effects tweaked for now to just add "./" to those few paths impacted, as well as the perf vars to support the non-hardcoded shader paths in the engine.
2017-02-24 02:40:56 -06:00