Hey guys it's me "again" (okay yes it was a long time since I posted in this thread).
Most of the school work is done now and I think I might have some time to continue working on the Mod now.
I just re-thought some parts of the Mod so I can get better performance (I use this post as a little list of ideas, so you can comment them if you want):
Things that can't be done:
- Use spot lights instead of point lights (would kill the lighting, tried, does not work)
- Implement real portal culling for FPSC based universe(because of the stupid behaviour of FPSC Segments)
- Dynamically calculate if a light is visible for the player (see "portal culling" reference)
- Lower performance drop with a lot of lights on screen (DarkBasic related problem with dynamic cubemaps)
Things that could be hard but possible:
- Add ambient occlusion
- Try to use something like portal culling on the dynamic shadow objects --> Not normal FPSC segments(so they are only visible when needed --> need to find a portal culling example)
Things that should be possible:
- Add a script for trigger zones to switch on/off a specific light (so the creator can set them active or not)
- Let the lighting renderer not run at full-screen resolution (better framerate)
- Get basic shader for every possible object type (entity dynamic/static; segment static)
- Fix bugs with new water (some reflection issues)
- Merge with latest available FPSC version (should not be a big problem)
- Fix animation and/or position/rotation of dynamic objects (so they don't flip around when colliding with player)
- Add newest Advanced Lighting version for performance improvements (should also be not that difficult)
- Maybe adjust shadows to be more smooth (not cut.off at the edge to the object --> need to find a way to to something like edge detect and only smooth shadows on object edges)
## Non-lighting related features# - ONLY IDEAS #
- Add real-time Depth of Field (could be very hard)
- Add pixel based motion blur (could be very hard too)
- Add real-time color correction based on overall screen color --> has to use my combined bloom/filmgrain shader
That's just a list of my thoughts. What I need more is to give me some of your ideas of what could be done, because I want to get the best out of the Mod.
So please feel free to write down your thoughts, so I can check and maybe add your's to my list too, because other people might have different and better ideas to do something.
Also if you have an example of a portal culling system in DarkBasic Pro it would be very very cool to link it for me, as that is something I'm in need of.
That is everything for now, but I hope that with your help I find everything that is needed right now.
Yours,
DG