kopia lustrzana https://github.com/jameshball/osci-render
Tweak parameters and add god ray icon
rodzic
61eb6dcff8
commit
3a34dddb06
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#e3e3e3"><path d="M40-440v-80h240v80H40Zm270-154-84-84 56-56 84 84-56 56Zm130-86v-240h80v240h-80Zm210 86-56-56 84-84 56 56-84 84Zm30 154v-80h240v80H680Zm-200 80q-50 0-85-35t-35-85q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35Zm198 134-84-84 56-56 84 84-56 56Zm-396 0-56-56 84-84 56 56-84 84ZM440-40v-240h80v240h-80Z"/></svg>
|
Po Szerokość: | Wysokość: | Rozmiar: 428 B |
|
@ -24,14 +24,14 @@ public:
|
|||
auto eff = std::make_shared<osci::Effect>(
|
||||
std::make_shared<GodRayEffect>(),
|
||||
std::vector<osci::EffectParameter*>{
|
||||
new osci::EffectParameter("God Rays",
|
||||
new osci::EffectParameter("God Ray Strength",
|
||||
"Creates a god ray effect by adding noise. This slider controls the size of the rays. Looks best with higher sample rates.",
|
||||
"godRayAmp", VERSION_HINT, 0.5, 0.0, 1.0),
|
||||
"godRayStrength", VERSION_HINT, 0.5, 0.0, 1.0),
|
||||
new osci::EffectParameter("God Ray Position",
|
||||
"Controls whether the rays appear to be radiating inward or outward.",
|
||||
"godRayBias", VERSION_HINT, 0.8, -1.0, 1.0)
|
||||
"godRayPosition", VERSION_HINT, 0.8, -1.0, 1.0)
|
||||
});
|
||||
eff->setIcon(BinaryData::scale_svg);
|
||||
eff->setIcon(BinaryData::god_ray_svg);
|
||||
return eff;
|
||||
}
|
||||
};
|
|
@ -99,6 +99,7 @@
|
|||
<FILE id="YwkQpy" name="fixed_rotate.svg" compile="0" resource="1"
|
||||
file="Resources/svg/fixed_rotate.svg"/>
|
||||
<FILE id="WIkl6l" name="fullscreen.svg" compile="0" resource="1" file="Resources/svg/fullscreen.svg"/>
|
||||
<FILE id="ledD1o" name="god_ray.svg" compile="0" resource="1" file="Resources/svg/god_ray.svg"/>
|
||||
<FILE id="VegGHd" name="graph.svg" compile="0" resource="1" file="Resources/svg/graph.svg"/>
|
||||
<FILE id="dYYqKr" name="gravity.svg" compile="0" resource="1" file="Resources/svg/gravity.svg"/>
|
||||
<FILE id="dYl3l5" name="greek.svg" compile="0" resource="1" file="Resources/svg/greek.svg"/>
|
||||
|
|
Ładowanie…
Reference in New Issue