mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 05:00:06 -05:00
Fix falloff2
Fix falloff2
This commit is contained in:
parent
ef56c16b2b
commit
f42d50e1bd
@ -2392,6 +2392,7 @@ public:
|
||||
<< "\t\t }\n"
|
||||
<< "\t\t break;\n"
|
||||
<< "\t\t case 2:\n"
|
||||
<< "\t\t {\n"
|
||||
<< "\t\t real_t sigma = dist * randy * M_2PI;\n"
|
||||
<< "\t\t real_t phi = dist * randz * M_PI;\n"
|
||||
<< "\t\t real_t rad = dist * randx;\n"
|
||||
@ -2405,6 +2406,7 @@ public:
|
||||
<< "\t\t vOut.z = vIn.z + " << mulZ << " * rad * sigmas;\n"
|
||||
<< "\t\t outPoint->m_ColorX = fabs(fmod(outPoint->m_ColorX + " << mulC << " * randc * dist, 1.0));\n"
|
||||
<< "\t\t break;\n"
|
||||
<< "\t\t }\n"
|
||||
<< "\t\t}\n"
|
||||
<< "\t}\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user