We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cellnoise3d
1 parent acbd32c commit 0be209eCopy full SHA for 0be209e
1 file changed
libraries/stdlib/genosl/mx_cellnoise3d_float.osl
@@ -1,4 +1,6 @@
1
void mx_cellnoise3d_float(vector position, output float result)
2
{
3
- result = cellnoise(position);
+ // Use the explicit point overload for deterministic 3D cell lookup.
4
+ // Avoid relying on implicit vector conversion in the OSL builtin.
5
+ result = cellnoise(point(position));
6
}
0 commit comments