Hot answers tagged

1

So It seems I has to use this line return sample(tc, r)* smoothstep(1.0, 0.0, r); which solves the problem...Thank you!


Only top voted, non community-wiki answers of a minimum length are eligible