Page 1 of 1
Fluid colors
Posted: Sat Jun 04, 2016 7:11 pm
by sparr
I'd like to be able to access base_color and flow_color for a fluid prototype.
Setting lamp colors to match fluid colors is one potential use for this.
Re: Fluid colors
Posted: Mon Jun 06, 2016 8:11 am
by bobingabout
in the data loading phase?
Wouldn't that be as simple as accessing data.raw.fluid["water"].base_color and data.raw.fluid["water"].flow_color?
they should return a table that contains r, g and b as a minimum.
Re: Fluid colors
Posted: Mon Jun 06, 2016 8:42 am
by sparr
I want to access them in control.lua, not during data loading. I'll amend my original description to better cover that.
Re: Fluid colors
Posted: Sat Jun 18, 2016 5:53 pm
by sparr
implemented (in 0.13?) per RSeding on IRC