Who wants a little maths lesson?
The shader for the tile-based voxel environment is pretty much finished now, so it's time to move on to the next part of the engine - other objects that can be...
Type: Posts; User: MuddyMole; Keyword(s):
Who wants a little maths lesson?
The shader for the tile-based voxel environment is pretty much finished now, so it's time to move on to the next part of the engine - other objects that can be...
Thanks :) I like the vignetting for a kind of flashlight effect - especially in horror games.
The lighting system actually has a pretty negligible cost in terms of performance. Basically, the...
Merry Christmas!
Just thought I'd share the progress I've made on my Voxel World shader.
I decided to try making a more complex scene (based on an image found online) as a way to test the shader,...
I've managed to fake a depth buffer in DX11, so now separate actives can be placed "inside" the voxel world, which is quite a significant change:
https://s3.gifyu.com/images/treezy.gif
The...
Nah, it's not for yet another Minecraft clone. Cubes are boring and ugly.
https://s3.gifyu.com/images/treez.gif
It might not look like much, as I'm still testing with cubes, but each one you...
There's not much to it really - in the getPixel function, right after where it says "int3 pos = round(position);" you simply divide "pos" by a scaling factor. I used 8 in those examples, so each cube...
I'm experimenting with making the voxels more like proper cubes. The results look quite nice, but performance has taken a big hit, so unless I can manage some serious optimisation, this may be a dead...
Version 2 is out now:
https://s9.gifyu.com/images/cubez.gif
(100x100x100 cube!)
The big change is that it now uses a two-dimensional grid of frames, rather than a single row, and you can...
Yeah, I don't know the limitations of the other runtimes. Using DX11 definitely made me very lazy though, since it has so few limitations - there's definitely plenty of potential for more...
Just thought I'd share my latest DX11 pixel shader, made for displaying 3D voxel models in CF2.5, which also includes some basic directional lighting (look out for an updated voxel terrain shader,...