Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infinite checkerboard! #3

Open
RoxDevvv opened this issue May 9, 2021 · 3 comments
Open

infinite checkerboard! #3

RoxDevvv opened this issue May 9, 2021 · 3 comments

Comments

@RoxDevvv
Copy link

RoxDevvv commented May 9, 2021

i have that piece of code to generate checkerboard i tried to implement it in your code end up with not movable checkerboard grid

vec2 center = -1.0 + 2.0 * vUv;
vec2 uv = floor(center.xy * 600.0);
if(mod(uv.x + uv.y, 2.0) > 0.5){
gl_FragColor = vec4(color1, 1.0);
}else{
gl_FragColor = vec4(color2, 1.0);
}

@Fyrestar
Copy link
Owner

There will be an update next days that offers more shape options such as inversed grid, checkerboard, rotation or a hexagonal grid.

@RoxDevvv
Copy link
Author

Thank you waiting for it

@tresabhi
Copy link

@Roxgame95, same here. This is going to be a gamechanger for my app. I can't wait for this to be released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants