Skip to content

Commit 626d0cf

Browse files
committed
Latest progress notes.
1 parent 2a4049d commit 626d0cf

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/_phaser_tilemap_GL_progress.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,3 +183,8 @@ Task list updated:
183183
Added offset parameters to renderRegion to correctly bottom-left align the large tiles.
184184
NOTE: the canvas version does not do this and consequently displays the tiles in the wrong positions.
185185

186+
Added alpha blending based on TilemapLayerGL.alpha property. NOTE: this appears to punch holes through the background and blends with the CSS background colour of the web-page. See: http://webglfundamentals.org/webgl/lessons/webgl-and-alpha.html for list of possible solutions to this... looks like PIXI is currently set to use premultiplied alpha by Phaser (need to find out where, or if this is a default?)
187+
188+
Prepared code to pass each Tile alpha value through to the batch renderer, however realised that implementing this will break the batching!
189+
Need to talk with Rich about it before proceeding further.
190+

0 commit comments

Comments
 (0)