This website requires JavaScript.
Explore
Help
Sign In
TorqueGameEngines
/
Torque3D
Watch
1
Star
0
Fork
You've already forked Torque3D
0
mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced
2026-01-19 20:24:49 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
52dbef6f5f
Torque3D
/
Templates
/
BaseGame
/
cleanShaders.command
5 lines
64 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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 08:40:56 +00:00
#!/bin/sh
cd "`dirname "$0"`"
Adjusted init'ing logic to defer to project settings for the name of the play gui and mainMenu gui instead of hardcoding them
2019-08-07 06:27:39 +00:00
rm -rf game/data/shaderCache/*.*
Reference in a new issue
Copy permalink