Default Rendering HDR pipeline changes background layer colors

Hi team,

When I use hdr in the default rendering pipeline - it changes the colors of the background layer.

(try to put true as the second parameter in the default rendering pipeline)

Is it possible to somehow keep the layer colors unaffected with the hdr=true?

Just the bloom effect looks completely different with hdr, but I don’t want to change the looks of the layer.

Thank you. And appreciate the support of the babylon community.

@Evgeni_Popov

This PR will add support for linear colors to layers:

Once merged, you can do layer.convertToLinearSpace = true; to get the right colors when using the default rendering pipeline in HDR mode.

3 Likes

This looks sooo much better now.
Thank you.

The colors are still slightly darker than without hdr.

In your test PG, I can’t see a difference when hdr=false and when hdr=true + layer.converToLinearSpace=true… If you are able to show the difference in a PG, I can have a look, as there shouldn’t be any difference.

1 Like