public final class BumpMap extends Object
Constructor and Description |
---|
BumpMap(RenderedImage texture,
double surfaceScale,
double scaleX,
double scaleY)
Stores the normals for this bumpMap.
|
Modifier and Type | Method and Description |
---|---|
double[][][] |
getNormalArray(int x,
int y,
int w,
int h) |
double |
getSurfaceScale() |
public BumpMap(RenderedImage texture, double surfaceScale, double scaleX, double scaleY)
public double getSurfaceScale()
public double[][][] getNormalArray(int x, int y, int w, int h)
x
- x-axis coordinate for which the normal is computedy
- y-axis coordinate for which the normal is computedCopyright © 2000–2023 Apache Software Foundation. All rights reserved.