Niels Leenheer @html5test.com · Mar 26

Things I tried: - Projecting the sky texture on the pink walls - looked bad - Calculate clip path to create a cutout - too complicated Solution: an extra culling step that set hidden attribute on all items that are behind the pink walls.

0 likes 1 replies

?

Replies

Niels Leenheer · Mar 26

And iOS crashing is also fixed. When I loaded each level, it would create all the walls with 3D transforms and textures. That would overwhelm Safari and crash. Instead I now create the walls with the hidden attribute set. Then during the culling loop it only makes the ones in view visible.