ITADN

Issue with 3D Perlin implementation

#7Openndavd 创建于 2023-08-12
N
ndavdcommented
There seems to be an issue with the Perlin 3D implementation. Passing the following data `world_position.xyz * 5.0` - Simplex 3D: ![image](https://github.com/rust-adventure/bevy-examples/assets/74260683/a08a3d70-3b8a-48fe-9641-0725fb8c1921) - Perlin 3D: ![image](https://github.com/rust-adventure/bevy-examples/assets/74260683/cc0b5162-37c5-4816-987c-33c0b2602ee1) It seems to have something to do with the algorithm only using the decimal part on one of the parameters, the cube has length of 1, notice how I multiplied the input by 5 and we see 5 stripes in one of the directions...
8 条评论