Stability | experimental |
---|---|
Maintainer | conal@conal.net |
Assemble shaders and display an image
- type EyePosE = R3E
- type FullSurf = (Lighter Color, EyePosE -> View, SurfD, Image Color)
- type SurfB = T -> FullSurf
- surfBProg :: EyePosE -> SurfB -> GLSL R1 R2
- wrapSurf :: forall u'. EyePosE -> SurfWrapper u'
- wrapSurfExact :: forall u'. EyePosE -> SurfWrapper u'
- wrapSurfIN :: forall u'. EyePosE -> SurfWrapper u'
- wrapSurfIC :: forall u'. EyePosE -> SurfWrapper u'
Documentation
unused but exported to suppress unused warning
wrapSurfExact :: forall u'. EyePosE -> SurfWrapper u'Source
Wrap up a parameterized surface for compiling. Computes normals and lighting per pixel -- sometimes called exact shading.
wrapSurfIN :: forall u'. EyePosE -> SurfWrapper u'Source
Wrap up a parameterized surface for compiling. This variant interpolates normals, as in Phong shading.
wrapSurfIC :: forall u'. EyePosE -> SurfWrapper u'Source
Wrap up a parameterized surface for compiling. This variant interpolates normals, as in Phong shading.