![]() We can probably assume that there are "in_Position" and "in_Normal" as well. vertex_usage_textcoord - in_TextureCoord OR in_TextureCoord.vertex_usage_colour - in_Colour OR in_Colour.Here are the ones that we can determine from the docs, the shader demo etc, that seem to work: ![]() Now, I'm no shader expert, but from the looks of things, in C or whatever, we find these manually by name and bind them to the vertex formats - but there is no such option in GameMaker - they seem to be predetermined by vertex_usage_blahblah. I got some information through the shader demo, the documentation, and from a breif touch in a tech blog post, but nothing clear and concise.Īlthough it's pretty straight forward in HLSL, we need a complete list of the shader attribute constants for GLSL ES. Hi everyone! My first pos t on the new forum - exciting stuff!Īnyway, I've been doing a lot with shaders and vertex formats at the minute, but I've hit a problem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |