• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - Code No textureSize() funtion in GMS2 GLSL Shaders?

Kaliam

Member
The title says it all, I'm just curious why this method doesn't exist in GMS2 since it's been in GLSL since version 1.30. It doesn't make a difference if you're using GLSL or GLSL ES, although the type of compilation error you get is different.

Just curious, didn't want to have to pass in all the texture resolutions etc...

Thanks.
 

Kaliam

Member
Thanks so much for the quick reply!
So this still applies when you switch the shader type from GLSL ES to just GLSL? I'm guessing the version of GLSL being used is similar to the GLSL ES version?
In other words, a GLSL version before 1.30?
Also, any hope of this being updated in the future? Just curious =)

Thanks!
 
Top