212 karma · joined Mar 29, 2023 (3y ago) · 34 submissions
1.
Virtual Shadow Maps for Games/Realtime Graphics(ktstephano.github.io ↗)
3 points · by ktstephano · 3y ago · discuss
2.
Show HN: Realtime Global Illumination on Older Hardware [video](youtube.com ↗)
1 points · by ktstephano · 3y ago · discuss
3.
Show HN: StratusGFX – new release of my open sourced 3D rendering engine(ktstephano.github.io ↗)
2 points · by ktstephano · 3y ago · discuss
comment 3y ago · link · parent
In the future I'll probably do something similar to what you mentioned and have the cascades use the LODs selected for the main view.
comment 3y ago · link · parent
The other was breaks. I didn't do this all in one stretch and instead did it in small chunks over time. I wasn't trying to ship a final game or finish as quickly as possible so the time scale was very relaxed.
Then the last was to make sure the process stayed as enjoyable as possible. If I was getting stuck on a problem or if a particular path really didn't seem to be working, I preferred to either take a break from the problem and come back later or find new sources that helped me see if in a different way (or both).
comment 3y ago · link · parent
"Even if that’s the case, is there a huge amount of work to integrate existing models/scenes into your engine?"
It uses the Assimp library which allows it to support things like .obj, .fbx and .gltf. Usually what I do is export from Blender to gltf and ask it to export the textures separately rather than pack them into the binary. Most assets that were designed with metallic-roughness in mind either work immediately or with minimal changes. In my own testing the most frequent things I had to change were if normal maps were inverted (fix by flipping the green channel in photoshop) or if the model exporter set all the metallic values to maximum due to missing data (fix by loading the metallic or metallic-roughness maps in photoshop and flipping metallic channel from max to 0).
comment 3y ago · link · parent
And yes! The video was captured in real time on an Nvidia GTX 1060.
comment 3y ago · link · parent
I don't know much about WebGL2 - do you happen to know if dropping the requirement to GL 4.3 would be enough to make it compatible with WebGL2?
comment 3y ago · link · parent
comment 3y ago · link · parent
Right now it's using fast-approximate anti aliasing for its AA method but overall even though it's better than nothing it's definitely not good enough especially in motion. I'm going to keep FXAA as a togglable option but I want to add in TAA/TSSAA which look like they handle AA in motion much better.
comment 3y ago · link · parent
Then for the performance on weaker hardware... yeah this is something I've mostly neglected for now. All my testing has been on a desktop Nvidia GTX 1060 where performance is currently pretty good there.
One option would be for me to add fallbacks that remove reliance on certain realtime features (such as realtime GI) and allow for baked solutions. My initial goal was to avoid all baked solutions and only target realtime everything, but now I feel I need to cycle back and add in other options on top of what's there.
comment 3y ago · link · parent
For this project I felt like weak copyleft MPL 2.0 was a nice balance sitting in between strong copyleft GPLv3 and no restriction MIT.
comment 3y ago · link · parent
Its backend only supports OpenGL right now. I think for a long term goal migrating to Vulkan would be a great option since it would unlock MacOS while still allowing Windows and Linux to run it.
comment 3y ago · link · parent