My Go on the Cerberus X Documentation

Holzchopf

Moderator
Joined
Jul 31, 2017
Location
Bern, Switzerland
@MikeHart thanks for fixing the typos!

This: "Materials contain shader parameters that map to shader uniforms variables when rendering " . I don't know anything about shaders (which is why I was reading the help file) but I do know that sentence doesn't make sense. I'm guessing 'uniforms' is the problem word!
Why should that sentence not make sense? I guess your guess is right: uniforms are a type of variables: https://www.khronos.org/opengl/wiki/Uniform_(GLSL)
So the sentence is the same as "Materials contain shader parameters that map to shader variables when rendering", except it's more specific.

What I do see, however, is that uniform should drop the s:
"Materials contain shader parameters that map to shader uniform variables when rendering"
 

Paul59

Active Member
CX Code Contributor
Joined
Dec 13, 2018
Location
UK
In help, the following link ('Color') doesn't work:

SetColor
in mojo2.graphics.DrawList.
Set color to specified Color.
 
Top Bottom