Small fix to musgrave texture generator.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8065 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Kae..pl 13 years ago
parent de8053c740
commit ccb31e646b
  1. 2
      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:

Loading…
Cancel
Save