Vehicles with alpha under 140 get drawn over by skybox shader

Aperta
#5,479 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

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
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
game-dev

Direzione di ricerca

Start by locating the vehicle rendering and skybox shader code, then reproduce the issue at night with vehicle alpha set to 90 and the linked skybox_shader resource running. Compare the car against the sky and ground as shown in the issue; done when the skybox no longer draws over a vehicle with alpha below 140.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Describe the bug

as in title, when a vehicle alpha is below 140 and there's a skybox shader behind it, the skybox gets drawn over the car body

looking at the ground:

Image

looking at the sky:

Image
Steps to reproduce
  1. set time to night
  2. get in a car with alpha under 140 crun setElementAlpha(me.vehicle, 90)
  3. download skybox_shader and start it
  4. look at the car while the sky behind it
Version

No response

Additional context

No response

Relevant log output

Security Policy
  • I have read and understood the Security Policy and this issue is not security related.
Lingua principale
C++
Stelle
1.9k
Fork
588
Merge medio
4g 9m
PR unite (30g)
11

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di multitheftauto/mtasa-blue

Tutte le issue di multitheftauto/mtasa-blue

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.