Hi there
I'm making an open world game based in a futuristic city, I have an idea for easily creating shadows, so that say when the player is walking alongside a building, there is a slight darkening effect cast over them, same with vehicles etc...
I would like to create/paint a large PNG file with transparency, and then overlay this over the entire map area.. my map size is currently 20,000x20,000 pixels. Would it be too performance intensive to use a single png file for this? IE: would it be a better idea to cut this shadow layer into say 40 pieces or more etc...?
Also for a "real-time lighting" effect, I would like to apply a large overlaid colour image with the opacity set to change depending on the "time of day", and switching between a black overlay, blue overlay, yellow/orange overlay etc... to add the effect of dawn/noon/dusk/evening/night etc...
I assume the best way to do this would be to apply it at only the size of the largest screen size expected, and have it attach to the player so that it is always covering just the screen?
Many thanks for any tips about these things, cheers!