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.
BIN
Templates/Modules/FPSGameplay/art/misc/512_black.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
Templates/Modules/FPSGameplay/art/misc/512_blue.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
Templates/Modules/FPSGameplay/art/misc/512_forestgreen.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
Templates/Modules/FPSGameplay/art/misc/512_forestgreen_lines.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
Templates/Modules/FPSGameplay/art/misc/512_green.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
Templates/Modules/FPSGameplay/art/misc/512_grey.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
Templates/Modules/FPSGameplay/art/misc/512_grey_base.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
Templates/Modules/FPSGameplay/art/misc/512_orange.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
Templates/Modules/FPSGameplay/art/misc/512_orange_lines.png
Normal file
|
After Width: | Height: | Size: 86 KiB |
BIN
Templates/Modules/FPSGameplay/art/misc/512_red.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
Templates/Modules/FPSGameplay/art/misc/black.png
Normal file
|
After Width: | Height: | Size: 118 B |
BIN
Templates/Modules/FPSGameplay/art/misc/fizz_noise.dds
Normal file
BIN
Templates/Modules/FPSGameplay/art/misc/gray.png
Normal file
|
After Width: | Height: | Size: 126 B |
17
Templates/Modules/FPSGameplay/art/misc/materials.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
singleton Material(White)
|
||||
{
|
||||
mapTo = "unmapped_mat";
|
||||
diffuseMap[0] = "./white.png";
|
||||
};
|
||||
|
||||
singleton Material(Grid_512_Gray)
|
||||
{
|
||||
mapTo = "unmapped_mat";
|
||||
diffuseMap[0] = "./512_grey.png";
|
||||
};
|
||||
|
||||
singleton Material(Orange512_lines)
|
||||
{
|
||||
mapTo = "unmapped_mat";
|
||||
diffuseMap[0] = "./512_orange_lines.png";
|
||||
};
|
||||
BIN
Templates/Modules/FPSGameplay/art/misc/splash.bmp
Normal file
|
After Width: | Height: | Size: 331 KiB |
BIN
Templates/Modules/FPSGameplay/art/misc/white.png
Normal file
|
After Width: | Height: | Size: 121 B |