Saturday, December 29, 2018

How make you sprite more lit!!!

Prologue:
I play Megaman 11/Rock Man 11 ME idea make game too😅, it pray 2 theme game so my upcoming book basing it. The exemplary story! Splendid!! As me make game too, give some game making hint and secrets.

This normal sprite:

-Wow nice art, but it not in the times
Now add some, shader to make it pixelated:

-I am so amazed is great, you great pixel artist!
quit honest, I don't even make the shader, but found it pixel.shader:
shader_type canvas_item;

uniform float size_x=0.006;
uniform float size_y=0.006;

void fragment() {
	vec2 uv = SCREEN_UV;
	uv-=mod(uv,vec2(size_x,size_y));
	
	COLOR.rgb= textureLod(SCREEN_TEXTURE,uv,0.0).rgb;
} 
Yes I make this godot and GDScript it shader was inside 2D Screen-Space Shaders Demo:Template. Yes so Bye bye for Now I will update this now and then.



Links for more info about shaders:
https://www.youtube.com/watch?v=U91nqeUe1qQ
https://thebookofshaders.com/
https://www.youtube.com/watch?v=QEaTsz_0o44

No comments:

Post a Comment

3D BLog has return

Go  to Check    https://thereal3dblog.com/