Maven module :un.engine : engine-opengl :
Class : un.engine.opengl.tessellation.PhongByDistanceTessellator
Extends/Implements : un.engine.opengl.renderer.actor.AbstractActor un.engine.opengl.tessellation.Tessellator
Subclasses : -

Subdivides the mesh triangle, keeping them on the triangle surface.
author  Johann Sorel


Variables : -
Functions : PhongByDistanceTessellator, PhongByDistanceTessellator, getMinGLSLVersion, setLinearFactor, getLinearFactor, setMax, getMax, isDirty, usesGeometryShader, usesTesselationShader, initProgram, preDrawGL



public void PhongByDistanceTessellator ()

public void PhongByDistanceTessellator (float factor, float max)

public int getMinGLSLVersion ()

public void setLinearFactor (float factor)

public float getLinearFactor ()

public void setMax (float max)

public float getMax ()


{@inheritDoc }
public boolean isDirty ()


{@inheritDoc }
public boolean usesGeometryShader ()


{@inheritDoc }
public boolean usesTesselationShader ()


{@inheritDoc }
public void initProgram (RenderContext ctx, ShaderProgramTemplate template, boolean tess, boolean geom)


{@inheritDoc }
public void preDrawGL (RenderContext context, ActorProgram program)