Hi,
is there a possibility to declare variables in the vrscene file format?
What I already know is that you can store an aColor value inside a TexBlend element that can be (ab-) used as some sort of variable.
Like so:
And the colorChooser can be used in the code to substitute an AColor value say for the color_tex of a diffuse material.
Like so:
Is there any possibility to do the same thing for Color and other elements
i.e. store the 1.5 of
color_mult=1.5;
in such a variable?
Thanks in advance
Scyla
is there a possibility to declare variables in the vrscene file format?
What I already know is that you can store an aColor value inside a TexBlend element that can be (ab-) used as some sort of variable.
Like so:
Code:
TexBlend [COLOR="blue"]colorChooser [/COLOR]{ color_a=AColor(1.0, 0.0, 0.0); blend_amount =0; }
Like so:
Code:
BRDFDiffuse diffuse_component { transparency_tex=AColor(0, 0, 0, 1); color_tex=[COLOR="blue"]colorChooser[/COLOR]; color=Color(0, 0, 0); roughness=0; use_irradiance_map=1; }
i.e. store the 1.5 of
color_mult=1.5;
in such a variable?
Thanks in advance
Scyla
Comment