Hello,
I'm evaluating Ogre for our project. It involves rendering multiple translucent surfaces where each surface also has sub-entities that are overlaid on top of the base surface. It is quite a difficult problem that we are only able to do correctly by using depth peeling or some similar advanced technique. However this post is not about that, since we also try and provide a fixed function solution for customers on ancient hardware that is not completely terrible. We do this by subdividing the surfaces and sorting the subdivided entities back to front in the conventional way, but with some modifications based on the known facts about the different entity types and their rendering priority.
So my question about this fixed function solution, is there any way for me to modify or override the way in which Ogre sorts transparents?
Thanks.
Is there any way to customise the rendering order of transparents?
-
- Gnoblar
- Posts: 1
- Joined: Thu Sep 09, 2021 12:27 pm
- x 1
-
- OGRE Team Member
- Posts: 1994
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1075
- Contact:
Re: Is there any way to customise the rendering order of transparents?
take a look what the Transparency sample does when WBOIT is enabled.