spritebuilder / SpriteBuilder

Objective-C Game Development Suite
http://www.spritebuilder.com/
Other
741 stars 293 forks source link

Transparency issues with glass / refraction effects #1338

Open collinjackson opened 9 years ago

collinjackson commented 9 years ago

I noticed two issues when combining lighting with glass/refraction:

screen shot 2015-02-05 at 11 41 43 am

1) Objects behind the glass layer are occluded 2) parts of the glass layer that should be 100% transparent are visible.

Changing the order of the light and glass/refraction effect makes the second problem go away, but the first problem persists.

Test case: https://github.com/collinjackson/LightingTest SpriteBuilder version: 1.4.7

thayerandrews commented 9 years ago

Thanks Collin. I'll take a look at this.

On Thu, Feb 5, 2015 at 11:45 AM, Collin Jackson notifications@github.com wrote:

Assigned #1338 https://github.com/spritebuilder/SpriteBuilder/issues/1338 to @thayerandrews https://github.com/thayerandrews.

— Reply to this email directly or view it on GitHub https://github.com/spritebuilder/SpriteBuilder/issues/1338#event-231010506 .