Safe Haskell | None |
---|---|
Language | Haskell2010 |
FWGL.Shader.Default3D
Documentation
type Uniforms = `[View3, Transform3, Texture2]`
type Attributes = `[Position3, UV, Normal3]`
newtype Texture2
Instances
newtype View3
Instances
newtype Position3
Instances
newtype Normal3
Instances
vertexShader :: VertexShader `[Transform3, View3]` `[Position3, UV, Normal3]` `[UV]`
applyMatrices :: Shader `[Transform3, View3]` `[Position3]` [] V4
fragmentShader :: FragmentShader `[Texture2]` `[UV, Normal3]`