Page 1 of 1

OPEN SPADES PROBLEM. NEED HELP!

Posted: Tue Dec 31, 2013 9:15 am
by Stryker
Guys so here's the code...
Code: Select all
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
 
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!!

Re: OPEN SPADES PROBLEM. NEED HELP!

Posted: Tue Dec 31, 2013 10:16 am
by bullets
Read the first line, then you'll get a clue.

Re: OPEN SPADES PROBLEM. NEED HELP!

Posted: Tue Dec 31, 2013 1:18 pm
by Stryker
bullets wrote:
Read the first line, then you'll get a clue.
LOL how to fix!!

Re: OPEN SPADES PROBLEM. NEED HELP!

Posted: Tue Dec 31, 2013 10:23 pm
by bullets
Turn some shader options off, lower shading quality, check if you've got the system requirements to run OpenSpades...