fragment shader to smooth the harsh edges of a render.
see fxaa_shader()
vertex shader that doesnt change position or uvs. takes in Vertex
and TextureCoords
and outputs uv
. intended for use with the screen mesh to draw over
the screen. e.g. with the fxaa shader.
simple vertex shader. uniform requires model: Mat4
,
view: Mat4
(Mat4::view_matrix_3d()
or Mat4::view_matrix_2d()
)
and camera: Mat4
(inverse camera matrix. use Mat4::from_inverse_transform()
or call
inverse()
before feeding it to the shader)