Code: Select all
That's the code... i researched on how to fix this problem but its still all the same... I need help from a Coder or an OpenSpades Xpert... Thanks!!Error while compiling a shader:
Compile failed.
ERROR: Function 'EvaluateSunLight' has no body.
ERROR: Function 'EvaluateAmbientLight' has no body.
ERROR: 2 compilation errors. No code generated.
Shader source:
/*
Copyright (c) 2013 yvt
This file is part of OpenSpades.
OpenSpades is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenSpades is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the