RTT as HlmsPbs detail map

Discussion area about developing with Ogre2 branches (2.1, 2.2 and beyond)
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 4211
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 802
Contact:

Re: RTT as HlmsPbs detail map

Post by dark_sylinc »

There was a tiny new change that affects you guys:

For automatic mipmap generation to work, now you need TU_AUTOMIPMAP|TU_RENDERTARGET|TU_AUTOMIPMAP_AUTO.
The alternative is to not use TU_AUTOMIPMAP_AUTO; and use the new generate_mipmaps pass:

Code: Select all

generate_mipmaps myCubemap {}
This is recommended because TU_AUTOMIPMAP_AUTO can have hidden surprises. For the details read the new section 4.1.3.2 generate_mipmaps of the manual.

Post Reply