Skip to content

Switching to another renderer when using postprocessing #126

Description

@iuriiiurevich

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions