Auburn / FastNoiseLite

Fast Portable Noise Library - C# C++ C Java HLSL GLSL JavaScript Rust Go

Home Page:http://auburn.github.io/FastNoiseLite/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cellular noise always produces a black texture in the c# version

angelomorgado opened this issue · comments

Hey! I'm reporting this because I tried generating the texture in the GUI version and it works flawlessly, but, when I try to replicate it in the code it generates a black texture. It works fine in other noise types, but in the cellular version it doesn't. I set up the distancefunction and the returntype correctly so I shouldn't have any problems. Is there anything I should do or is it a bug?

The GUI uses the C# version so there is probably something different with your settings

Hey! Somehow (don't ask me why) for this specific noise function I had to shift it by 1.0 (I summed the shift value to the noise values). That managed to make it appear, though I'm still confused on why.

All the FastNoise noise type outputs are bounded -1.0, 1.0 so if you were only using 0.0, 1.0 you might have seen this issue