Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Fatal error with a vertex shader?

A topic by Haf-Tone created Jan 09, 2022 Views: 498 Replies: 7
Viewing posts 1 to 2

____________

Cannot play the engine in the editor due to this error

_______________________________

############################################################################################

FATAL ERROR in Vertex Shader compilation

ShaderName: shd_voronoi

Invalid shader

 at gml_Object_obj_voronoi_Draw_0 (line 7) - shader_set(shd_voronoi);

############################################################################################

gml_Object_obj_voronoi_Draw_0 (line 7)

any help with this at all would be appreciated 

Developer

1. Did you make any changes to the engine?
2. If you scroll up in the console when compiling, are there any other shader errors listed? (syntax errors maybe?)

(1 edit)

I did a fresh download just to be safe and still the same error message.  and yes i found some "invalid shaders" in the game's output console.



Invalid shader (is it marked as incompatible type for this target?) "shd_haven_final":

Invalid shader (is it marked as incompatible type for this target?) "shd_daynight":

Invalid shader (is it marked as incompatible type for this target?) "shd_dust_cloud":

Invalid shader (is it marked as incompatible type for this target?) "shd_fade":

Invalid shader (is it marked as incompatible type for this target?) "shd_lava":

Invalid shader (is it marked as incompatible type for this target?) "shd_palette":

Invalid shader (is it marked as incompatible type for this target?) "shd_palette_rgb":

Invalid shader (is it marked as incompatible type for this target?) "shd_palette_simple":

Invalid shader (is it marked as incompatible type for this target?) "shd_palette_simple_rgb":

Invalid shader (is it marked as incompatible type for this target?) "shd_voronoi":

Invalid shader (is it marked as incompatible type for this target?) "shd_win_screen_text":


there is nothing explicitly related to shaders in the syntax that i can make heads or tails of.  Is there anything that could be done about this?

Developer

What platform are you trying to run it on? Windows?

Yes, A fairly fresh install of Windows 10 to be precise.  I read somewhere on the GM forums that someone was able to fix a similar issue by downloading x86 C++ to there computer. I'm a total coding noob so I couldn't tell you the significance of that. Should I give that a try and reinstall GM2 or are there other options available?

Developer

Hmm yeah, I would give that a try.

It worked!!  I just want to give a personal thank you for making this engine and documenting everything about it on GitHub (not to mention all the comments on every script.) . Really makes it easy and accessible for noobs like me to wrap my head around such an advanced engine.   Can't wait to get started!  (After I learn my eventing principles that is lol.)

Developer

Glad to hear that it worked!