Code Editor: Several shader functions are not defined in autocomplete (or the manual) #8597
Labels
documentation
Improvements or additions to documentation are required by this issue
ide-bug
Bugs with the GameMaker IDE
Description
While the functions "float CalcFogFactor(vec4 pos)", "vec4 DoDirLight(vec3 ws_normal, vec4 dir, vec4 diffusecol)", "vec4 DoPointLight(vec3 ws_pos, vec3 ws_normal, vec4 posrange, vec4 diffusecol)" and "vec4 DoLighting(vec4 vertexcolour, vec4 objectspacepos, vec3 objectspacenormal)" are defined and accessible in vertex shaders, this is not documented or supported by the IDE (not syntax highlighted). This should at least be documented as writing a function with one of these names and parameters would lead to an unexplained compilation error. The same goes for the functions "void DoAlphaTest(vec4 SrcColour)" and "void DoFog(inout vec4 SrcColour, float fogval)" in fragment shaders.
Which version of GameMaker are you reporting this issue for?
IDE v2024.8.1.171 Runtime v2024.8.1.218
Which operating system(s) are you seeing the problem on?
Windows 10.0.22631.0
ced5063a-affc-4b07-8b8d-93f5fdf81ad2
The text was updated successfully, but these errors were encountered: