Roland Posted August 26, 2016 Share Posted August 26, 2016 When defining a 'color' value in Script the alpha value shows up as 255 even if the default value is set to something else Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
macklebee Posted August 26, 2016 Share Posted August 26, 2016 Leadwerks engine's colors are on a scale between 0-1, only the editor's color property displays the 0-255 scale. See this bug report that explains why: http://www.leadwerks.com/werkspace/topic/12241-script-color-property-returns-unexpected-results/ and the other bug report that was posted with the same question: http://www.leadwerks.com/werkspace/topic/14366-color-picker-bug/ If you would set the property as shown below, you would see the correct values in the editor's color property: 2 Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Josh Posted August 26, 2016 Share Posted August 26, 2016 Damn. 1 My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts