terier / vpt

VPT: The Volumetric Path Tracing Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to not show environment color?

engineer1109 opened this issue · comments

When set environment white, the background will also turn white.
How to not show environment color on background?

There is no support for this in the main branch yet. There is support in the "multi-channel-volumes" branch, where you can override the background color and also rotate the environmental map.

@CirilBohak
Thanks for answers.
And for background clear color, "if (photon.bounces < 1u)" will be better.

It depend on the use-case :) This is why we did not yet include it into the main branch :)