[osg-users] [CubeMap with mipmaps] About loading IBL
Robert Osfield
robert.osfield at gmail.com
Thu Dec 21 09:45:25 PST 2017
On 21 December 2017 at 16:50, Giuseppe Donvito
<giuseppe.donvito at gmail.com> wrote:
> Hi Robert and all,
> I totally confirm the bug described by mp3butcher, also in my case I can't use an IBL cubemap with pre-generated mipmaps associated to a texture.
> I have to remove mipaps (and at least generate them in hardware) otherwise the IBL channel will result black.
> The cubemap is produced by a standard tool.
I did merge a fix from Julien but it did in the end cause a
regression, so the fix "worked" in that it hide the actual problem for
that specific usage case but introduced serious problems with other
usage cases. In the end I had to revert the "fix".
With my investigation into the problem I finally worked out the actual
cause of the bug and have checked in a proper fix. Updating to git
master will resolve this issue.
The fix is:
https://github.com/openscenegraph/OpenSceneGraph/commit/dfec052eb983c10467faeae16c9cb7dca5b45379#diff-91ee382a4d543072ea66aab422e5106f
More information about the osg-users
mailing list