Hi,
I wanted to add shadows and normalmapping to my game, so looked for a few tutorials and tried it, the normal mapping was easy.
Then I tried to add shadows to the game... there are the stencil shadows which are very slow so i don't want to use them. I tried some tutorials but they all made any big problems or made ugly shadows or something.
Can anyone please give me a hint or a link to a tutorial how i can implement shadows to my game in an easy way (if there is any easy way)?
Note that with "shadow" i mean shadows to the ground and self shadows on the entity. And the normal mapping should functioning futhermore. AND it would be nice if not only the sun makes the shadows but also every dynamic lights.
in german:
Falls mein English unverständlich sein sollte, hier nochmal auf Deutsch:
Ich wollte Schatten und Normalmapping in mein Spiel implementieren also hab ich mir einige Tutorials angeguckt und versucht es irgendwie hinzukriegen. Das Normalmapping war kein Problem.
Aber die Schatten... Die Stencil Schatten will ich nicht nehmen, weil sie langsam sind. Und in jedem Tutorial, was ich gefunden habe, waren entweder die Schatten einfach hässlich oder es hat nicht funktioniert.
Kann mir irgendjemand einen Tip geben oder einen Link zu nem Tutorial, damit ich endlich Schatten benutzen kann? Wenns es einfach ist zu implementieren wäre natürlich sehr schön.
Mit "Schatten" meine ich übrigens Schatten sowohl auf dem Boden als auch auf den Models und wenn das geht, nicht nur von der Sonne erzeugte Schatten sondern von allen dynamischen Lichtern. Und das Normal-mapping sollte weiterhin funktionieren.