uniform: orientation, vec2, 1, 0
The Name of the Variable is orientation
It is Defined as a vec2 - it has Two Components too it.
The Value of these Two Components are being set to: 1,0
this is then Passed to the Shader.
If you look at the shader it will have the same Varaiable name in it, and it's getting the Value from the Scene File.
What Orientation is used for, all depends on the programing in the Shader.
since it is a user defined variable..
uniform: changeColor, int, 0So this is how you Define a Variable of your Own Choice in the Scene File.
the name of the Variable is changeColor
it is defined as an int or interger
it's valu is set to 0
again, in the shader you will find the same variable, and it's getting it's value from the Scene File.
changeColor is a user defined varable, and what it means depends on the programming in the shader.
In this Case it's being used as a True or False 0=false, 1 = true
to determine if the Coloring is changed by the shader.
I put a link to a Fun with fractals texture pack in the share thread
作为iStripper 的免费用户,您不能在论坛中回答话题或创建新话题。
但您仍然可以访问基本类别并与我们的社区取得联系!