pmndrs / pmndrs/react-postprocessing
Switching to another renderer when using postprocessing
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 1.4k
- Fork
- 134
- Merge medio
- 4m
- PR unite (30g)
- 4
Descrizione
Let's say we have a scene and a GUI switch that enables/disables some postprocessing effects.
The optimal renderer settings depend on whether we use postprocessing or not, for example, an optimal postprocessing workflow requires the following settings among others:
{
antialias: false,
depth: false
}
And to render directly to the screen (without postprocessing), we need these values:
{
antialias: true,
depth: true
}
As far as I know, renderer settings cannot be changed on the fly.
What is the best practical solution in this situation?
Is it possible to switch renderer back and forth while keeping the same scene?
If so, how to implement it with react-postprocessing and react-three-fiber?
Guida per i contributori
Apri 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.
Direzione di ricerca
Inizia con la guida all’uso di postprocessing collegata e con la configurazione del renderer utilizzata da react-three-fiber. Determina se le impostazioni del renderer possono cambiare mantenendo la scena e documenta l’approccio pratico o i vincoli per react-postprocessing.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react, three.js, typescript
- Ambito
- computer-graphics
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100