XML Feeds

.

[jitter] Re: lua questions

Erik Mijwaard erik at videotroopers.com
Wed Jan 2 05:51:23 MST 2008



try this:

gl.BlendFunc(ONE, ONE_MINUS_SRC_ALPHA)

like the redbook says, but without the GL_
http://www.cs.rutgers.edu/~decarlo/428/gl_man/blendfunc.html


hth,
erik






Quote: yair r. wrote on Wed, 02 January 2008 04:18
----------------------------------------------------
> thanks wes, lua is so flexible
> 
> i'm still having difficulties with the placement of
>   gl.Enable("BLEND")
>   gl.BlendFunc(1,6)
>   gl.ClearColor(0,0,0,0.5)
> my intuition tells me it should be in the init function, but no go.



More information about the jitter mailing list