Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmarSquircleArt <omar.squircleart@gmail.com>2019-09-05 14:25:13 +0300
committerOmarSquircleArt <omar.squircleart@gmail.com>2019-09-05 14:25:13 +0300
commit3a0b22b2daea4d255063cbb8f6269b8a764618d4 (patch)
treedafff953ef049243031f66b2dc2f30c88534f307 /source/blender/gpu
parentc060a4a7145be2319a50928e6ef1cee465266dfb (diff)
Fix T69532: Wave texture fails with a compile error.
`noise_turbulence` was renamed to `fractal_noise`. Reviewers: brecht Differential Revision: https://developer.blender.org/D5691
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/shaders/material/gpu_shader_material_tex_wave.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/shaders/material/gpu_shader_material_tex_wave.glsl b/source/blender/gpu/shaders/material/gpu_shader_material_tex_wave.glsl
index 2196848a4ef..fa79e3dc310 100644
--- a/source/blender/gpu/shaders/material/gpu_shader_material_tex_wave.glsl
+++ b/source/blender/gpu/shaders/material/gpu_shader_material_tex_wave.glsl
@@ -11,7 +11,7 @@ float calc_wave(
}
if (distortion != 0.0) {
- n += distortion * noise_turbulence(p * detail_scale, detail, 0);
+ n += distortion * fractal_noise(p * detail_scale, detail);
}
if (wave_profile == 0) { /* profile sin */