All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cwinter.codecraft.graphics.materials.SimpleMaterial.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.{EmptyVertex, VertexXY}


private[graphics] class SimpleMaterial(implicit gl: GL4)
extends JVMMaterial[VertexXY, EmptyVertex.type, Unit](
  gl = gl,
  vsPath = "basic_vs.glsl",
  fsPath = "basic_fs.glsl",
  "vertexPos",
  None,
  GL_DEPTH_TEST
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy