space
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
BIN
core/assets/sprites/space.png
Normal file
BIN
core/assets/sprites/space.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
Reference in New Issue
Block a user