How to make the render result type of customproceduretexture float?

When I render with CustomProceduralTexture, I get the following image:

type shows: unsigned byte

what should I do to make its type float,like the type of a depthmap?

playground: question | Babylon.js Playground (babylonjs.com)

You can’t do it at the time, but this PR will add the feature:

Once it is merged, this PG will work:

1 Like