Expected result:
The output to transition from sampled input p to float4(1.0, 0.0, 0.0, 1.0) (solid red) over the course of one second, if builtin_elapsed_time_since_shown == 0.0 when the source is first shown and 1.0 one second later.
Observed:
When spamming the "show/hide" (eye) button in OBS, it works as expected (takes 1s to fade). However, when leaving the source hidden/visible for longer periods, the value of builtin_elapsed_time_since_shown when the source gets shown seems to start at a value between ~ 2.0 and 5.0 .
Unforunately I don't know enough about the functionality to know why it might be the case.
Using the following simple (HLSL) shader:
Expected result: The output to transition from sampled input
p
tofloat4(1.0, 0.0, 0.0, 1.0)
(solid red) over the course of one second, ifbuiltin_elapsed_time_since_shown
== 0.0 when the source is first shown and 1.0 one second later.Observed: When spamming the "show/hide" (eye) button in OBS, it works as expected (takes 1s to fade). However, when leaving the source hidden/visible for longer periods, the value of
builtin_elapsed_time_since_shown
when the source gets shown seems to start at a value between ~ 2.0 and 5.0 .Unforunately I don't know enough about the functionality to know why it might be the case.