[osg-users] help, camera-> attach(COLOR_BUFFER, cubemap, miplevel, face, true), error
OpenSceneGraph Users
osg-users at lists.openscenegraph.org
Sun May 10 10:52:14 PDT 2020
Hello:
I want to create a cubemap with mipmap by rtt camera, and I use the code as:
camera-> attach(COLOR_BUFFER, cubemap, miplevel, face, true),
when the miplevel increase, the camera's viewport width and height /2
finial I found the all result of different reslution image overlying together, the image of next level in the corner of the current level.
What can I do , I want to get correct result
Thank you
Yang Shixing
2020/5/11
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200511/b7098b0f/attachment.html>
More information about the osg-users
mailing list