From ccb31e646bf2be570fb5f34a47ff3a8c85e172ad Mon Sep 17 00:00:00 2001 From: "Kae..pl" Date: Tue, 23 Aug 2011 13:20:41 +0000 Subject: [PATCH] Small fix to musgrave texture generator. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8065 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../plugins/blender/textures/TextureGeneratorMusgrave.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/blender/com/jme3/scene/plugins/blender/textures/TextureGeneratorMusgrave.java b/engine/src/blender/com/jme3/scene/plugins/blender/textures/TextureGeneratorMusgrave.java index 736d683b9..02c58b0cb 100644 --- a/engine/src/blender/com/jme3/scene/plugins/blender/textures/TextureGeneratorMusgrave.java +++ b/engine/src/blender/com/jme3/scene/plugins/blender/textures/TextureGeneratorMusgrave.java @@ -79,7 +79,7 @@ public class TextureGeneratorMusgrave extends TextureGenerator { for (int j = -halfH; j < halfH; ++j) { texvec[1] = hDelta * j / noisesize; for (int k = -halfD; k < halfD; ++k) { - texvec[2] = dDelta * k; + texvec[2] = dDelta * k / noisesize; switch (stype) { case NoiseGenerator.TEX_MFRACTAL: case NoiseGenerator.TEX_FBM: