Transparency

How can i change the amount of transparency when using the option Add when in FaceSelect and PaintMode for an object!??!
I have a water texture on a water object that need’s to be a little more (not-so-transparent) than it is when using the ‘add’ option in PaintMode together with a VertexColor.

How can I change the transparency value? (Or is that perhaps called Alpha value?) Hmm… :expressionless:

darken the vertexcolor and the add effect will be more subtle

Hello

Imho it’s better to use TGA images and the Alpha button.
This way you can have a true transparency or tranlucent effects
You must set the desired transparency in your paint soft (GIMP ?)
save in TGA, import and enable the Alpha button in the Face select buttons.
The Add button is a way to get transparency with JPEG images but not
good for tranluncent effects.
Bye
António

Thanx! :slight_smile:

The problem with alpha textures, is if you have more than one, and they line up in the game (as in you may see an alpha texture in front of another) oftentimes the texture in the BACK is rendered on TOP of the texture which should be in FRONT. So, either use all add textures, or try and make sure none of your alpha textured faces line up in a shot.

Thanx Saluk! :slight_smile:

To everyone: Pretty soon me and my girlfriend’s game is out! It’s not revolutionary and is proberly not better than my Christmas game but I’ll post here when it’s done! (Which should be on thursday actually) :smiley:

Yeah, i’m running into the rendering the back image in front in my game. I also noticed if i use an alpha texture and put the back image as an add it STILL renders in front of the image. I was messing around in the display buttons, and i noticed some stuff with alpha in it, and sometimes some of those setting change stuff in gameblender. I haven’t found a workaround yet though.

Pooba

ok, to pooba. Try this: Duplicate your object that is being drawn in front with alt+d (linked duplicate), and delete the original. It should be drawn in back now. (maybe it is the object you want in the front that you need to do this to…?, I forget it is late)

Alpha faces* are drawn in the order the objects appear in each layer (layer 1, 2, 3 …), then the order the objects appear (depends on their creation), then in the order they appear in the objects (depends on their creation). So, you can put objects you wish to have drawn before or after a given object in lower number, or higher number layers. You can also duplicate objects with alt+d (I guess it doesn’t matter if you use shift+d though), and delete their origingal.

For faces my method (as of yet) is to split them into seperate objects (pkey), and join them back together in the opposite order they should be drawn for proper effect.

The latter can be automated (a script will do the work…), and I have an idea of how to do so. Hopefully in the next week I can take care of the math.

  • the exceptions to these ‘rules’ seems to be for combinations of add and alpha faces (the add ones are drawn after alpha always?), and for text faces which seem to be drawn first, regardless of their layer, or object order.

Nope, didn’t work.

Here, this is what’s happening. The object is set as alpha, but is rendered in front (image)

http://www.gratisweb.com/pooba/alphaproblem.JPG

Thanks

Pooba

Did you try duplicating the bridge?

or puting the water on an earlier layer (and the bridge on a later one)?

wait, maybe the water should have an alpha channel?

  • installs the gimp to try himself *
  • remembers USB is slow * (the gimp, compressed is 12MB)
  • wonders if Windoze XP has an infereior zip decompresser *

Try as I may, I could not recreate your problem…

regardless of the order they were created
or the layer they were on

Maybe it was just my computer that worked that way.

xpiswierd

he’s copying my game look at his wood bridge!

CHEAT!

doogs

What are you talking about? I used the wood texture from texture aceuil and the rope texture my team made. It’s a bridge, but it doesn’t look like your bridge in the screenshots. Pluss i made this befor eyour screenshots were released.

This scene probably isn’t going to appear in my game anyway though.

Pooba

Imho it’s better to use TGA images and the Alpha button.
This way you can have a true transparency or tranlucent effects
You must set the desired transparency in your paint soft (GIMP ?)
save in TGA, import and enable the Alpha button in the Face select buttons.
The Add button is a way to get transparency with JPEG images but not
good for tranluncent effects.

add is completely different than alpha though… if i wanted halo light shining through a window, id use add… that way everything behind the halo light would be brighter… thats what ADD does, brightens things depending on the colors of the texture, with some transparency… alpha is flat out transparency, it doesnt really brighten anything behind it, it wont create the “glow” feel ADD does…

he’s copying my game look at his wood bridge!

CHEAT!

doogs

as much as u beleive it doogs, u dont have a patent on bridges, whether in real life, or realtime… and maybe if that wood texture was your original hand made texture it would be copying, but that texture exists for downloads on thousands of sites on the web… and his scene looks better… so =P

Atleast im not you, blengine

doogs