public final class MultiPassLightingLogic extends DefaultTechniqueDefLogic
techniqueDef
Constructor and Description |
---|
MultiPassLightingLogic(TechniqueDef techniqueDef) |
Modifier and Type | Method and Description |
---|---|
void |
render(RenderManager renderManager,
Shader shader,
Geometry geometry,
LightList lights,
int lastTexUnit)
Requests that the
TechniqueDefLogic renders the given geometry. |
getAmbientColor, makeCurrent, renderMeshFromGeometry
public MultiPassLightingLogic(TechniqueDef techniqueDef)
public void render(RenderManager renderManager, Shader shader, Geometry geometry, LightList lights, int lastTexUnit)
TechniqueDefLogic
TechniqueDefLogic
renders the given geometry.
Fixed material functionality such as RenderState
,
material parameters
, and
uniform bindings
have already been applied by the material, however,
RenderState
, uniforms
, textures
,
can still be overridden.render
in interface TechniqueDefLogic
render
in class DefaultTechniqueDefLogic
renderManager
- The render manager to perform the rendering against.shader
- The shader that was selected by this logic in
TechniqueDefLogic.makeCurrent(com.jme3.asset.AssetManager, com.jme3.renderer.RenderManager, java.util.EnumSet, com.jme3.light.LightList, com.jme3.shader.DefineList)
.geometry
- The geometry to renderlights
- Lights which influence the geometry.lastTexUnit
- the index of the most recently used texture unit