mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-24 20:35:12 +00:00
parent
e42cf4f325
commit
ad249a8e73
1 changed files with 2 additions and 2 deletions
|
@ -161,10 +161,10 @@ float4 PSDefault(VertData vtx) : TARGET {
|
|||
float bar_direction = 0.;
|
||||
if (TransitionTime < .5 || !_49_FadeToColor) {
|
||||
bar_offset = -abs(noised(float2(bar_id, 0.)).x * bar_offset_max);
|
||||
bar_direction = step(noised(float2(bar_id, 1.)).x, _Random[3][1]);
|
||||
bar_direction = step(noised(float2(bar_id, 1.)).x, Random[3][1]);
|
||||
} else {
|
||||
bar_offset = -abs(noised(float2(bar_id, 1.)).x * bar_offset_max);
|
||||
bar_direction = step(noised(float2(bar_id, 0.)).x, _Random[3][1]);
|
||||
bar_direction = step(noised(float2(bar_id, 0.)).x, Random[3][1]);
|
||||
}
|
||||
|
||||
if (_49_FadeToColor) {
|
||||
|
|
Loading…
Reference in a new issue