'Refractive' transparency mode not being applied from json pbs

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


Post Reply
Nucleartree
Kobold
Posts: 28
Joined: Tue Apr 04, 2017 9:10 pm
Location: Cardiff, UK
x 16

'Refractive' transparency mode not being applied from json pbs

Post by Nucleartree »

Hi, Maybe I'm wrong but I was reading through the json pbs code and I notice the option 'Refractive' isn't picked up by the function 'parseTransparencyMode', although it's listed as part of the transparency enum and names array.

https://github.com/OGRECave/ogre-next/b ... s.cpp#L111

Any thoughts on that? If that's meant to be like that it would benefit from a comment to say why that is.
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5296
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1278
Contact:

Re: 'Refractive' transparency mode not being applied from json pbs

Post by dark_sylinc »

It was a bug. Fixed.

Thanks for the report!
Post Reply