Jump to content

Home

Black blending?


Janos Oudrin

Recommended Posts

I'm having a tough time getting my black saber to work...

In JO, I would have a negative grayscale lightsaber and I would use the blendFunc GL_DST_COLOR GL_SRC_COLOR in the shader. This worked, except for the fact that if you played JO in windowed mode, it would look really strange, seemingly displaying the white stuff instead of the black stuff.

 

In JA, I tried the same, but unfortunatly, it does the exact same thing as JO did in windowed mode... But ALL THE TIME!

 

As my black saber looks awful now, I'm just asking the GL blending pro's out there...

 

What is the correct blendFunc to use for displaying black lightsabers?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...