phaazon on doc
Documentation and make vertex b… (compare)
phaazon on doc
Buffer doc. (compare)
phaazon on doc
Documentation on lib.rs, blendi… (compare)
phaazon on normalized-vertex-attribs
phaazon on master
Add full support for normalized… (compare)
phaazon on normalized-vertex-attribs
Add full support for normalized… (compare)
phaazon on normalized-vertex-attribs
Add full support for normalized… (compare)
phaazon on more-vtx-attribute-types
Start work on matrices as verte… Make vertex attribute more “nor… Implement failible vertex attri… and 5 more (compare)
phaazon on readmes
uniform_interface!
luminance-glfw
to make it easier to implement separate render loops vs. event loops
examples/
directory
Is there a good way to see what the mappings from uniform interface to glsl uniform types is? I have an array of rgba pixels I captured from the screen and am trying to upload to a texture and display. My interface is
uniform_interface! {
struct ShaderInterface {
tex: &'static BoundTexture<'static, Flat, Dim2, RGBA8UI>
}
}
I upload the array with upload_raw
and then in my shader trying to sample it with uniform sampler2D tex;
but getting an error program created: UniformWarning(TypeMismatch("tex", "requested usampler2D doesn’t match"))