diff options
author | Omar Emara <mail@OmarEmara.dev> | 2021-09-10 15:25:32 +0300 |
---|---|---|
committer | Omar Emara <mail@OmarEmara.dev> | 2021-09-10 15:25:32 +0300 |
commit | a1167e910a22077a6738edc3ee8e57ab4d5d62dd (patch) | |
tree | 4cd2528296f169003244dae7e816112e2ad217ca /release/scripts/templates_osl/lyapunov_texture.osl | |
parent | 60cfdf080929aca61c37439b601b1ef85d51391a (diff) |
BLI: Add Cycles compatible Perlin noise
This patch adds new Perlin noise functions to BLI. The noises are compatible
with the shading texture noises in EEVEE, SVM, and OSL.
The existing Jenkins hash functions couldn't be used because they are not
compatible with the shading implementations and an attempt at adjusting the
implementation will break compatibility in various areas of Blender. So the
simplest approach is to reimplement the relevant hashing functions inside the
noise module itself.
Additionally, this patch also adds a minimal float4 structure to use in the
interface of the noise functions.
Reviewed By: JacquesLucke
Differential Revision: https://developer.blender.org/D12443
Diffstat (limited to 'release/scripts/templates_osl/lyapunov_texture.osl')
0 files changed, 0 insertions, 0 deletions