cwinter.codecraft.graphics.materials.MaterialXYZRGB.scala Maven / Gradle / Ivy
The newest version!
package cwinter.codecraft.graphics.materials
import com.jogamp.opengl.GL._
import com.jogamp.opengl.GL4
import cwinter.codecraft.util.maths.{ColorRGB, VertexXYZ}
private[graphics] class MaterialXYZRGB(implicit gl: GL4)
extends JVMMaterial[VertexXYZ, ColorRGB, Unit](
gl = gl,
vsPath = "xyz_rgb_vs.glsl",
fsPath = "rgb0_fs.glsl",
"vertexPos",
Some("vertexCol"),
GL_DEPTH_TEST
)