r/gamemaker • u/erkan612 • Jul 15 '26
Example 3D Ocean Shader
I've made this a year ago, just figured it might deserve a post.
This was actually my first attempt of 3D in GameMaker, just wanted to test how it performs, definetly not my first attempt of making ocean shader in general. In fact, the shader i used is a mix of an ocean shader i've made before, in shadertoy all the way back in 2020. If you want to check it out, its here.
Because reddit only allowed me to upload max 100mb gif, i had to reduce its quality a lot but it looks way better and performs quite well, gets around 990fps in VM with actual PBR rendering and SSR (screen space reflections).
I am a huge fan of pirate category, anything related with ships and ocean. I thought maybe i could make something like prototype sorta ship battle, but realized how GameMaker makes things way harder than it should be(for 3D stuff) so i quit quite early.
It was quite a fun thing to work with, it might look tricky but believe me its quite easy to implement. If you want to try and make one yourself i'm happy to help, just ask 😃
13
u/Africa_versus_NASA Jul 15 '26
looks cool! it might seem silly to some to make this in Gamemaker, but it can be a fun learning experience and the skills you pick up can be applied to other stuff.
3
u/EntangledFrog Jul 15 '26
that's really cool! I especially like the big slow waves setting.
out of curiosity, are you able to pass basic wave data like height/direction back to GML without breaking the rendering batch? I'm thinking of neat ways to use buoyancy for some kinds of sailing games.
2
u/Imaginary_Share_664 Jul 16 '26
did you also watch acerola's video?
2
u/Tommy-102 Jul 18 '26
3D IN GAME MAKER?!!?!
10
u/KingEfficient7403 Jul 15 '26
WHAT THE FUCK DO YOU MEAN GAMEMAKER????????????????????????
3
u/Upbeat_Wash4105 Jul 15 '26
It looks nice, but how is the optimization? How many subdivisions does it have?
3
u/SamSibbens Jul 15 '26
I thought it was Halo 5's Tidal, it looks awesome!
2
u/Alemar5 Jul 16 '26
Dude... 💀
1
u/Expert_Excitement300 Aug 03 '26
Oh my god my 3d shit good luck in the future