A set of scripts that contain vertex buffer usage examples, primitives and models (.d3d or .mod and .obj) for 3D use.

These are intended to show you how to stop using d3d_model_*, d3d_draw_* and d3d_primitive_* functions and start using Vertex Buffers.

There are few examples on how to use the scripts (eg: loading a .d3d model or drawing a floor by using vertex buffers) however I will add more "usage examples" over time but you can easily build these yourself.

This also shows you how to replace the d3d_transform_* functions with the new matrix_* functions for rotations and translations.

CONDITIONS OF USE: No support for assets. Support emails regarding this asset will not be answered.

You may use any of these shaders in your game(s), paid or free. eg: GameJolt, Steam, own website are permitted.

You may not redistribute any of the shaders/examples on the Yoyogames Marketplace, paid or free as projects, extensions, shaders, etc are not permitted.

End User Licence Agreement (EULA).

Changes in 1.0.3

Added more examples and changed from using d3d_transform_* functions to using matrix_* functions.


Version 1.0.3. Published November 21, 2016

Created with GameMaker: Studio v1.4.1763

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Anonymous 28 February 2019

found bug in vertex_buffer_floor_3D:

found bug in vertex_buffer_floor_3D: the script doesn't actually use z1 argument. it builds floor using only z2 value


Anonymous 09 January 2019


Vlad A 25 October 2018


Mischa v 14 October 2018


Spectrum 4 19 August 2018


Workflow in terms of getting models into GM is a pain. This helpful add-on allows you to get .obj (or .d3d) models into GM with minimal effort. Worked perfectly.

Thank you.


orbis s 13 June 2018


Anonymous 21 March 2018


Anzhel D 06 January 2018

Works amazing.


Micah S 10 January 2017

Saved me so much time!

Super big thanks! The code is very easy to follow and it gave me all I needed to get a solid handle on vertex buffers, allowing me to move away from D3D models.


xygthop3's Shader Resources (Publisher) 12 January 2017

Glad it's helped and thanks for leaving a review.

Package contents

Loading, please wait

What is the issue?

Back to Top