Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

the problem was not that the shader does not give its effect, but that setting the shader makes the correctly drawn circle disappear. The suggestions with matrixes did not work, but that is because the circle, as I wrote, is drawn in the right position with the right rotation already. The solution with the surface worked, but out of curiosity I checked other shapes and I am wondering about things you can see in attached screenshots. Why does only the circle behave like this under the influence of any shader?

In any case, thanks a lot.

(1 edit)

Interesting that it is only circles. It could just be the order GM renders the vertices. You can try turning off culling to see if that fixes it? Or rotate the circle around. If GM creates circles (for whatever reason) clockwise, then its probably trying to show you the 'back' of the circle instead. 

gpu_set_cullmode(cull_noculling)

Other than that though, Maybe the shader format is wrong? Idk that is really strange. haha.