This commit is contained in:
Anuken
2020-10-08 15:14:28 -04:00
parent 2c905cdbf1
commit c7f1204119
7 changed files with 6 additions and 9 deletions

View File

@@ -943,6 +943,7 @@ block.cliff.name = Cliff
block.sand-boulder.name = Sand Boulder
block.grass.name = Grass
block.slag.name = Slag
block.space.name = Space
block.salt.name = Salt
block.salt-wall.name = Salt Wall
block.pebbles.name = Pebbles

View File

@@ -1,5 +1,5 @@
#define HIGHP
#define NSCALE 2000.0
#define NSCALE 1800.0
#define CAMSCALE (NSCALE*1.1)
uniform sampler2D u_texture;
@@ -17,7 +17,7 @@ void main(){
vec2 coords = vec2(c.x * u_resolution.x + u_campos.x, c.y * u_resolution.y + u_campos.y);
vec4 color = texture2D(u_texture, c);
color.rgb = texture2D(u_stars, coords / NSCALE + vec2(0.5, 0.3) - u_ccampos / CAMSCALE);
color.rgb = texture2D(u_stars, coords / NSCALE + vec2(0.3, 0.3) - u_ccampos / CAMSCALE).rgb;
gl_FragColor = color;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB