@Deprecated public class DirectionalShadowLight extends DirectionalLight implements ShadowMap, Disposable
Modifier and Type | Field and Description |
---|---|
protected Camera |
cam
Deprecated.
|
protected FrameBuffer |
fbo
Deprecated.
|
protected float |
halfDepth
Deprecated.
|
protected float |
halfHeight
Deprecated.
|
protected TextureDescriptor |
textureDesc
Deprecated.
|
protected Vector3 |
tmpV
Deprecated.
|
direction
Constructor and Description |
---|
DirectionalShadowLight(int shadowMapWidth,
int shadowMapHeight,
float shadowViewportWidth,
float shadowViewportHeight,
float shadowNear,
float shadowFar)
Deprecated.
Experimental, likely to change, do not use!
|
Modifier and Type | Method and Description |
---|---|
void |
begin()
Deprecated.
|
void |
begin(Camera camera)
Deprecated.
|
void |
begin(Vector3 center,
Vector3 forward)
Deprecated.
|
void |
dispose()
Deprecated.
Releases all resources of this object.
|
void |
end()
Deprecated.
|
Camera |
getCamera()
Deprecated.
|
TextureDescriptor |
getDepthMap()
Deprecated.
|
FrameBuffer |
getFrameBuffer()
Deprecated.
|
Matrix4 |
getProjViewTrans()
Deprecated.
|
void |
update(Camera camera)
Deprecated.
|
void |
update(Vector3 center,
Vector3 forward)
Deprecated.
|
equals, equals, set, set, set, set, set, setDirection, setDirection
protected FrameBuffer fbo
protected Camera cam
protected float halfDepth
protected float halfHeight
protected final Vector3 tmpV
protected final TextureDescriptor textureDesc
@Deprecated public DirectionalShadowLight(int shadowMapWidth, int shadowMapHeight, float shadowViewportWidth, float shadowViewportHeight, float shadowNear, float shadowFar)
public void update(Camera camera)
public void begin(Camera camera)
public void begin()
public void end()
public FrameBuffer getFrameBuffer()
public Camera getCamera()
public Matrix4 getProjViewTrans()
getProjViewTrans
in interface ShadowMap
public TextureDescriptor getDepthMap()
getDepthMap
in interface ShadowMap
public void dispose()
Disposable
dispose
in interface Disposable