TilemapGPULayer render issue causing lines between tiles
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Tranquilla
- Stack tecnologico
- javascript
- Ambito
- computer-graphics, game-dev
Direzione di ricerca
Inizia dal CodePen collegato e riproduci l’artefatto in TilemapGPULayer usando i tileset forniti, confrontandolo con un layer normale. Verifica l’effetto di mipmapFilter: "LINEAR_MIPMAP_LINEAR" e le varianti di margin, spacing e texture-size. Il lavoro è completo quando il GPU layer esegue il rendering senza linee tra i tile nelle configurazioni segnalate, oppure quando la configurazione che non funziona e la causa sono documentate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Version
- Phaser Version: 4.1
- Operating system: W11
Description
I have a hard time rendering a tilemap correctly utilizing a TilemapGPULayer. No matter if I try to use an adjusted tileset that makes use of extruded tile borders or not, there are issues rendering the layer. using a normal layer works normally.
My findings:
- having mipmapFilter: "LINEAR_MIPMAP_LINEAR" in the game config breaks stuff (hello old friend, i missed having issues caused by you)
- having a tilemap gpu layer instead of a normal layer breaks stuff in bubbits for me in any case, even without that mipmapFilter
- going for 4096x4096 texture size for the tileset (as advised) makes it very difficult to have margin and spacing that perfectly fits tile count and those target dimensions. (maybe you can math how to do it correctly) but did not lead to less lines showing for me ingame when i just forced correct dimensions via image canvas size (did lead to phaser warning of not fitting number of tiles)
Example Test Code
Maybe this codepen is a good starting point to get down to these render issues, it shows different kinds of tilemaps, both normal and gpu using both, sets with and without margin and spacing.
https://codepen.io/SaintFlow/pen/vEgyVZa
- Lingua principale
- JavaScript
- Stelle
- 40.7k
- Fork
- 7.2k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di phaserjs/phaser
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 3 giorni
-
Type definition for TilemapLayer.getTileAt is wrongForse già presa @hkbughk l’ha presa 34 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 3 giorni
-
Shader.preDestroy leaks its ShaderQuad's vertex buffer and VAO on every create/destroy cycle (4.2.1)Forse già presa @k1epg01ng129-eng l’ha presa 32 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 3 giorni
-
Black opaque background on transparent Phaser.Text textures in Phaser 4.2.1 on older iOS WebGLForse già presa @SamuelMalmfors l’ha presa 14 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
phaserjs/phaser#7392 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di phaserjs/phaser
Issue simili
-
enhancement ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
DCGM/semant-demo#708 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Client codegen: an import repeated in an impl file is emitted twice, and the browser rejects the moduleForse già presa @MalithaPrabhashana l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
jaseci-labs/jac#10756 ·
I maintainer di solito rispondono entro 1 giorno