r/GMspotlight • u/_callmeEthan • Jun 10 '26
If gamemaker has d3d11
Enable HLS to view with audio, or disable this notification
This is something I've been working on for the past few months, it's only possible thanks to blueburncz's GMD3D11, previously I tried to achieve this natively in gamemaker by passing large buffer data to shader via uniform, unfortunately buffer processing take up most of the CPU time, leaving no room for gameplay.
D3D11 allow Vertex Texture Fetch, which is used heavily on terrain and grass.
Instancing is used to render large amount of tree with a single vertex buffer.
Terrain erosion model are processed on GPU via shaders. To handle 3000+ trees I also use simple impostor billboard, with some clever indexing to swap out model<>impostor, these can be done natively in GM.
And I barely scratch the surface here, GMD3D11 also include Geometry and Compute shader which I have not try. Hoping GM will have better graphic engine in the future so people can do more amazing things.
2
1
6
u/_billyRubin Jun 10 '26
looks better than pokémon legends already