-
Notifications
You must be signed in to change notification settings - Fork 49
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
Needs to look more modern. #11
Comments
Ambient occlusion would be really cool - and totally implementable in the C end, as the "brightness" is something I believe we have room for in the data that gets passed into the shader. I have never been able to write an ambient occlusion engine, though and the thought of such terrifies me. A second thought is that we could attach another 3D buffer that could contain brightness, and information to do standard texture mapping. It would be neat to do 2D textures. I wonder if we could take advantage of that in a game - i.e. abusing a dynamic 2d texture as a game element. Imagine having to push a ball around, but the ball exists only as a object on the surface of a wall! Good grief this could get UNBELIEVABLY ESOTERIC! I am continually worried about adding textures, etc since things are already teetering on the edge of what the hardware can do. As far as other things that we can do to improve overall feel - there are a number of steps we can take in "pass3.frag" that would enable us to do some very cool things. I originally had crepscular rays working (though there is no analogue for the now, non-euclidean engine). Vignetting, noise, color correction, etc. are all things that can be done in pass3.frag. As far as better/more noise functions go: Calculating 3D Perlin noise using cubes is very expensive. I wanted to switch to a tetrahedral 3D noise generation, but my brain isn't good enough to do that. I had a difficult enough time ripping off my old professor's cubic Perlin noise! Thanks, Olano! |
Textures would obviously be very nice.
Yes, is there any way to simplify the shaders? Maybe move parts of it to the CPU C++? I haven't looked at them because I can't really shader.. |
I really don't think it's feasible to put much more in C++ and away from the shaders. I wish I could!!! It is really depressing how complicated they ended up being. Consider they have to march through the grid, handle changes in density, when they run into an offset-grid block that may have something in it, they have to linearly step through calculating a density function, if there is a hit, they have to use a binary search to find that point, if not, they have to keep marching along. Oh, and they have to handle warping. X.X About documentation - that I certainly can do this weekend. I have a lot of notes all over the place, but nothing centralized. |
Like some reddit user said.
The text was updated successfully, but these errors were encountered: