count
meshes, with the geometry data supplied. The shader which is currently set with setShader
is responsible for transforming the input verticies into clip space and shading it based on the given vertex attributes. The int variable gl_InstanceID can be used to access the current instance of the mesh being rendered inside the vertex shader.
@param mesh The mesh to render
@param lod The LOD level to use, see {@link Mesh#setLodLevels(com.jme3.scene.VertexBuffer[]) }.
@param count Number of mesh instances to render
|
|
|
|
|
|