mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-23 02:09:42 +00:00
Fix nodemask snafu
This commit is contained in:
parent
199e6ed82d
commit
9d84853903
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ namespace MWRender
|
|||
mCamera->attach(osg::Camera::COLOR_BUFFER, mTexture);
|
||||
mCamera->setName("CharacterPreview");
|
||||
mCamera->setComputeNearFarMode(osg::Camera::COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES);
|
||||
mCamera->setCullMask(~(Mask_UpdateVisitor));
|
||||
|
||||
mCamera->setNodeMask(Mask_RenderToTexture);
|
||||
|
||||
|
|
Loading…
Reference in a new issue