Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OGRE-24] Add possibility to control stencil usage from material files! #5

Closed
paroj opened this issue Nov 29, 2015 · 2 comments
Closed
Labels
📁 OgreMain wontfix the fix would make the software much more complex and much less maintainable

Comments

@paroj
Copy link
Member

paroj commented Nov 29, 2015

[reporter="spacegaier", created="Sat, 24 Nov 2012 19:54:16 +0100"]

Original reporter: rride

In a current version there is no possibility to set stencil ops, masks, values etc in material files, this feature is enabled only in compositor files, but stencil can be used not only in post-processing and stencil shadow-related effects.

Sometimes this feature be VERY useful, because it would help to avoid setting stencil values through RenderQueueListener class.

Original Mantis Ticket: http://www.ogre3d.org/mantis/view.php?id=370

@paroj paroj added this to the 1.10.0 milestone Nov 29, 2015
@paroj
Copy link
Member Author

paroj commented Nov 29, 2015

[author="scrawl", created="Sun, 22 Sep 2013 20:34:56 +0200"]

Shouldn't be difficult to add, in theory. The main problem is that it will conflict with other stencil uses (compositor stencil operation, stencil shadows).
On the other hand, if we have material stencil, the compositor stencil would be somewhat obsolete since the same thing can then be achieved by changing the compositor's materials. And as it stands, it looks like stencil shadows are going to be removed in Ogre 2.0, which would also make things easier.

@paroj paroj added the papercut label Jul 5, 2017
@paroj paroj changed the title [OGRE-24] [Papercut] Add possibility to control stencil usage from material files! [OGRE-24] Add possibility to control stencil usage from material files! Jul 5, 2017
@paroj paroj removed this from the 1.10.0 milestone Jan 10, 2018
@paroj paroj added wontfix the fix would make the software much more complex and much less maintainable and removed papercut priority: low labels May 28, 2021
@paroj
Copy link
Member Author

paroj commented May 28, 2021

implementing this would increase the size of every pass. Given that this only enables very specific use-cases, I think the current approach with Compositors / RenderQueueListener is sufficient.

@paroj paroj closed this as completed May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📁 OgreMain wontfix the fix would make the software much more complex and much less maintainable
Projects
None yet
Development

No branches or pull requests

1 participant