OGRECave / ogre

scene-oriented, flexible 3D engine (C++, Python, C#, Java)
https://ogrecave.github.io/ogre/
MIT License
3.85k stars 959 forks source link

Main: ShadowRenderer - check that tech and pass exists #3060

Closed erikogenvik closed 4 months ago

erikogenvik commented 4 months ago

To avoid segfault. This could happen if the shadow caster material isn't loaded, or if it doesn't contain any valid techniques.