- No Begin/End capability
No control over the TargetOperation before it is queued.
compositor "render_custom"
-
- Gnoblar
- Posts: 15
- Joined: Wed Aug 04, 2010 8:22 pm
- x 1
compositor "render_custom"
So it's become pretty clear to me that this option is currently fairly useless.
- so0os
- Bugbear
- Posts: 833
- Joined: Thu Apr 15, 2010 7:42 am
- Location: Poznan, Poland
- x 33
Re: compositor "render_custom"
You can use mViewport->setMaterialScheme("name"); to set scheme name for a viewport. And to avoid having to write it for each material, you can use MaterialManager::Listener and override handleSchemeNotFound. Example of this can be found here: http://www.ogre3d.org/tikiwiki/Glow&structure=Cookbook
Also, you can do this in compsoitor:
It's all covered in the glow wiki thingie, go take a look!
Also, you can do this in compsoitor:
Code: Select all
target something
{
input none
material_scheme myscheme
pass clear
{
}
pass render_scene
{
}
}