i just had a thought, can you turn this into a extention with simple syntax bc i cant figure out my syntax and i think maybe you could add backface culling and stuff and maybe you could combine that with more colors to get a full thing but also pulls from textures
also please make it simple and support full menus
extension for the ray tracing or the whole engine? Ive slowly been working on making my voxel engine into an extension, and will eventually start on my color adding thing.
i wonder if its possible to use a kind of raycasting just to render the front blocks and cull the rest
IVE MADE A UIIIIIIIIII
My fps went from 1426 to 3.6 in less time that it takes for me to eat a piece of fried chicken. How complex is this game? ![]()
for me it was 2
also i think you should know that raycasting is real 3D, depending on the raycasting used.
I have a good computer and I also got 2 fps, you might wanna find a different way of rendering ._.
(I didn’t see this post)
so raycasting is the process of casting a ray (obviously), but across a grid. It can be used for technically any dimension, 1D, 2D, 3D, even 4D! As soon as the ray hits a block (or voxel) that is not air, it will use some math to extract a pixel from the blocks texture. Some benefits of raycasting is that you don’t have to “sort” the blocks to render them right, and you then have the ability to place/break like in Minecraft. If you would like I can try to expand further.