Node: Gabor Noise Texture #110802

Open
Charlie Jolly wants to merge 68 commits from CharlieJolly/blender:gabor into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 303c9c72f1 - Show all commits

View File

@ -103,7 +103,7 @@ ccl_device void gabor_sample(GaborParams gp,
ccl_private float3 *omega,
ccl_private float *phi)
{
float pvar = mix(0.0, prand * 2.0 - 1.0, gp.weight);
float pvar = mix(0.0f, prand * 2.0f - 1.0f, gp.weight);
*phi = M_2PI_F * pvar + gp.phase;
float ovar = M_PI_F * (orand * 2.0f - 1.0f);