Shaders - Relative paths

Shaders are no longer found under /shaders in the project; they can be
anywhere. In addition, paths for both (program) instructions in the
script and include directives in shader source code are relative to the
file which contains them.
This commit is contained in:
Emmanuel BENOîT 2017-12-29 11:33:15 +01:00
parent 3344f96af0
commit 68d01ca42e
41 changed files with 198 additions and 132 deletions

2
TODO
View file

@ -23,8 +23,6 @@ Compiler / emulator:
* Check for overrides on the same inputs when setting things up
* Aliases
* Display errors in UI
* Shader paths relative to scripts (will require different way of handling
libraries)
Optimizer: