Transparency -1 reply

  • 1
  • 2

Please wait...

jbritz22

Slightly cooler than a n00b

50 XP

12th November 2003

0 Uploads

28 Posts

0 Threads

#1 14 years ago

Is it possible to have transparency in skins?




The Raitenks

I SKIN therefore I AM

50 XP

3rd January 2003

0 Uploads

1,406 Posts

0 Threads

#2 14 years ago

sure:

models/players/yourskin/sometexture { surfaceparm metalsteps q3map_nolightmap { map models/players/yourskin/sometexture blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA depthWrite rgbGen lightingDiffuse alphaGen wave sin 0.7 0.1 0.1 0.1 } { map models/players/morgan/blue_glow blendFunc GL_ONE GL_ONE rgbGen wave sin 0.9 0.1 0.1 0.1 } }

that's it. but then your character will look like a jedi ghost (blue). if you don't want that, go to the path in the assets where the shader image is (in our case "map_models/players/morgan/blue_glow") and edit it. if you change the color, the transparancy-effect will be differently colored, if you make it darker, the character will be less visible, if you make it brighter, the shader will make him more visible and colored.

i hope that's what you looked for

-kudos, rai

P.S.: just post when you got problems with it :) ; i'm always happy to help some non-model-requesting skinners. :p




tFighterPilot

Force Using Dictator

50 XP

8th April 2003

0 Uploads

3,097 Posts

0 Threads

#3 14 years ago

ah... nodraw?




jbritz22

Slightly cooler than a n00b

50 XP

12th November 2003

0 Uploads

28 Posts

0 Threads

#4 14 years ago

Cant we just make a transparent layer in the tga? I just want to make a certain part of the skin transparent!




The Raitenks

I SKIN therefore I AM

50 XP

3rd January 2003

0 Uploads

1,406 Posts

0 Threads

#5 14 years ago

you have to make the spots you want to be transparent..... transparent :) and then apply the shader to the texture. because alpha-tranparencies will only mark the spots to be shadered.

-kudos, rai




jbritz22

Slightly cooler than a n00b

50 XP

12th November 2003

0 Uploads

28 Posts

0 Threads

#6 14 years ago

How do i apply this shader? And I want it looks like a tattered cloak.




GothiX

No Time to Cry

50 XP

18th September 2003

0 Uploads

1,290 Posts

0 Threads

#7 14 years ago

GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA? I don't see much need for that, to be honest.. It'd be better to color the parts you want to be invisible black, and throw in GL_ONE GL_ONE.




The Raitenks

I SKIN therefore I AM

50 XP

3rd January 2003

0 Uploads

1,406 Posts

0 Threads

#8 14 years ago

*slap* he does not want them to be invisible but transparent. there's a differnce. if he just wanted them to be invisible, he could use a simple alpha shader for sure.

edit: correct me if *i* am wrong here, but i take transparent as "seethrough, but still slightly visible". making it just dissappear just requires a simple alpha shader and then color the certain spots white.




jbritz22

Slightly cooler than a n00b

50 XP

12th November 2003

0 Uploads

28 Posts

0 Threads

#9 14 years ago

So your shader will make it look like its ripped and tattered? And how do I apply it?




The Raitenks

I SKIN therefore I AM

50 XP

3rd January 2003

0 Uploads

1,406 Posts

0 Threads

#10 14 years ago

well, the spots will looks this way, then:

MorganKatarn.jpg

you can edit how much it will be see-through be varying the brightnes of the shader image and you can recolor it, too. i'm afraid i can't explain it any more simple...




  • 1
  • 2