-
Notifications
You must be signed in to change notification settings - Fork 33
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
Use shader to render blocks #100
base: master
Are you sure you want to change the base?
Conversation
I'll try to test that. |
Works great! |
Thanks for fixing the block cracking, that was bugging me :) Block shaders is a great addition! Though there's something odd going on with the time of day; the lighting doesn't seem to line up with where the sun image is positioned, with my world appearing to be in full shadow when the sun is at high 12:00. Also when I try flying (tab) into the sky, the world becomes much brighter, so there's something odd occurring with view occlusion... |
I tidied up + slowed down the passage of time to 20m/day cycle (matching Minecraft pacing), if you want it fast like before for testing shaders, you can use I also tweaked get_sun_position() so the shader appeared to follow the visual sun, let me know if I'm misinterpreting it! |
Thanks for the comment! |
This makes it possible to create better visual effects like lighting