Skip to content

Allow to set viewport internal format  #4378

Closed
@dan1338

Description

Describe the project you are working on

Multipass rendering

Describe the problem or limitation you are having in your project

The values are clipped by limited [0,255] pixel range of ViewportTexture

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Allow the user to select the internal format to be used by the viewport, afaik from reading the code ImageTexture is the only one that even takes format into account, but all I really want is for godot to create the texture with GL_FLOAT as the internal format.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Have a list of formats on a viewport object in the editor.

If this enhancement will not be used often, can it be worked around with a few lines of script?

It cannot

Is there a reason why this should be core and not an add-on in the asset library?

Becuase "It cannot"

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions