Fixed building for HTML5

This commit is contained in:
Anuken
2017-12-08 20:59:40 -05:00
parent 404ec68570
commit aa6308fffc
11 changed files with 35 additions and 28 deletions
+2 -1
View File
@@ -56,7 +56,8 @@ void main() {
color.a = ALPHA;
for(int i = 0; i < u_hitamount; i ++){
for(int i = 0; i < MAX_HITS; i ++){
if(i >= u_hitamount) break;
vec3 hit = u_hits[i];
float rad = hit.z * HIT_RADIUS;
float fract = 1.0 - hit.z;