Nuclear reactor fixes / Additional info bars

This commit is contained in:
Anuken
2019-02-26 14:47:05 -05:00
parent 964d1a0d87
commit 2fa32e5099
7 changed files with 41 additions and 30 deletions

View File

@@ -344,7 +344,9 @@ blocks.liquidfueluse = Liquid Fuel Use
blocks.boostitem = Boost Item
blocks.boostliquid = Boost Liquid
blocks.health = Health
blocks.heat = Heat
blocks.power = Power
blocks.progress = Build Progress
blocks.power.satisfaction = Power Satisfaction
blocks.inaccuracy = Inaccuracy
blocks.shots = Shots

View File

@@ -28,7 +28,7 @@ void main() {
for(float cy = -RADIUS; cy <= RADIUS; cy ++){
if(texture2D(u_texture, v_texCoord.xy + vec2(cx, cy) * v * spacing).a >= 0.001){
gl_FragColor = u_color;
return;
break;
}
}
}

View File

@@ -28,7 +28,7 @@ void main() {
for(float cy = -RADIUS; cy <= RADIUS; cy ++){
if(cx*cx + cy*cy <= RADIUS * RADIUS && texture2D(u_texture, v_texCoord.xy + vec2(cx, cy) * v * spacing).a >= 0.001){
gl_FragColor = u_color;
return;
break;
}
}
}