Jump to content
Sign in to follow this  
zgmrvn

DrawnLine3D color/alpha troubles

Recommended Posts

Hi,

 

i'm using drawLine3D in a script i'm working on but color parameter behaves strangely,

 

for exemple, these arrays make exactly the same 3D opaque red  line :

// r, g, b, a
[1, 0, 0, 0]
[1, 0, 0, 0.2]
[1, 0, 0, 0.5]
[1, 0, 0, 1]

Futhermore, if i try to change color only :

// r, g, b, a
[0, 0, 0, 1] // black
[0.1, 0, 0, 1] // 100% red
[0.2, 0, 0, 1] // 100% red
[0.8, 0, 0, 1] // 100% red
[1, 0, 0, 1] // 100% red

Does somebody has the same problem, or, does somebody get this command working correctly ?

 

thanks,

 

zgmrvn.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×