hippyman
Member
I'm messing around with the FBX SDK and I was just wondering how I was supposed to render the models. My assumption is that it will be rendered by a shader and the documentation for GMS mentions that vertex buffers are used for this.
So is the basic idea that I just fill the vertex buffer with the data I need (transform, skeleton, anims, etc) and pass the buffer to a shader?
I'm hoping that some of the more experienced 3D and shader people can help me better understand how these things work together. Maybe even point me to some decent guides/articles that discuss rendering models with shaders in detail. I tried looking but was having a hard time finding anything helpful. I'm not the most experienced with shaders. I've messed with Xor's shader tutorials and I've done things like port a simple shader from ShaderToys to GM but it's still gibberish to me.
Any help would be greatly appreciated.
So is the basic idea that I just fill the vertex buffer with the data I need (transform, skeleton, anims, etc) and pass the buffer to a shader?
I'm hoping that some of the more experienced 3D and shader people can help me better understand how these things work together. Maybe even point me to some decent guides/articles that discuss rendering models with shaders in detail. I tried looking but was having a hard time finding anything helpful. I'm not the most experienced with shaders. I've messed with Xor's shader tutorials and I've done things like port a simple shader from ShaderToys to GM but it's still gibberish to me.
Any help would be greatly appreciated.