Hi,
after some searching and browsing I haven’t been able to find a satisfying answer to my question so I will ask it here.
The question is more about shadows than lights actually. Lights I’m able to get quite easily, but I’m unsure where to get my shadows from.
From what I can tell my options are lightmaps, shadow projectors for blob shadows etc., and dynamic shadows if I upgrade to Pro.
Is that all I can choose from?
How would I get shadows for a dynamically created level within my game if I don’t have Pro? Would that be impossible? Or what if I bake a lightmap into my level, but have multiple movable objects within my game. Would those objects have to be without shadows?
I actually thought Unity was like the Hammer editor for Half-life 1 2 where lights and shadows are baked when you compile your level, but it seems I have to bake my lighting into my textures using an external application? If Unity can bake lightmaps for terrains within the editor why can it not for the objects in my level?
What kind of lighting solution does a game like Half-life 2 actually use? Every object has some kind of projected shadow, but there’s also this prebuilt lightmap like thing.
Also, how do I make an object going into a shadow react to the shadow, i.e turn dark like in Half-life? A lightmap is just a texture, right? So that won’t affect anything sitting on the texture?
My game ideas involve a lot of physics affected movable objects and a random level generator. If I want shadows for my game will I have to get Pro to use dynamic shadows?
A lot of questions here, some may be stupid, some may be answered before and for that I’m sorry.
Some answers and literature for further study would be awesome.
Thanks.