hex to rgb color
hex to rgb color
how can i convert a color from hex code (#ff00ff) to RGB vector?
hmm.. why blender exporter is creating RGB colours with values <1 ?
From manual....colour
Sets the RGB reflectance (albedo). All components should be in the range [0, 1)
Each component will be silently clamped to the range (after reverse gamma correction) [0, 0.9].
As of 0.7 test2, the RGB colour will be 'reverse gamma corrected' – all components will be
converted to display values by raising to the power of 2.2.
type: real 3-vector
restrictions: Each component should be in the range [0, 1)
units: dimensionless
Who is online
Users browsing this forum: No registered users and 26 guests