Fix urban shader compile error. #elseif is an incorrect directive, #elif is the correct one. Thanks to colintoal for reporting.
This commit is contained in:
parent
088dd2988a
commit
c53d5c12ba
1 changed files with 3 additions and 3 deletions
|
@ -89,9 +89,9 @@ void QDM(inout vec3 p, inout vec3 v)
|
|||
//use additional convergence speed-up
|
||||
#ifdef USE_QDM_ASCEND_INTERVAL
|
||||
if(frac(level*0.5) > EPSILON)
|
||||
level++;
|
||||
#elseif USE_QDM_ASCEND_CONST
|
||||
level++;
|
||||
level++;
|
||||
#elif USE_QDM_ASCEND_CONST
|
||||
level++;
|
||||
#endif
|
||||
}
|
||||
p2 = p + v * d;
|
||||
|
|
Loading…
Add table
Reference in a new issue