[Solved] Transparency Question

Having a problem with a shader or texture
Post Reply
User avatar
xandaxs
Posts: 959
Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal

[Solved] Transparency Question

Post by xandaxs »

Hello folks!

I'm using this particles texture on my map, but it is barely visible, I'd like to make it a bit more. (Talking about hte particles of course, they should be a bit more visible) but I don't know how to do so.

Here's the texture:
particles.jpg
particles.jpg (14.69 KiB) Viewed 7873 times


Here's the shader:

Code: Select all

textures/lotr_textures/particles
   {
   qer_editorimage textures/lotr_textures/particles.jpg
   q3map_surfacelight 1000
   surfaceparm trans   
   surfaceparm nomarks
   surfaceparm nonsolid
   surfaceparm nodamage
   surfaceparm nolightmap
   nopicmip   
   qer_trans .5
   cull none
   deformVertexes bulge 128 1 2   
   {
      map textures/lotr_textures/particles.jpg
      blendFunc GL_SRC_ALPHA GL_ONE
      rgbGen vertex
      tcMod Scroll 0 .04
   }
}


I got it from the map ut4_neptune, a jump map by landouille, and there, the particles are so much more visible.

Yesterday due to a compile bug, the map compiled without lights, only meta and vis, and after testing the map I saw the particles were actually visible, but then, with light, they ain't near half as much :/
Any ideas?
[12:25] <JohnnyEnglish> morning Nounou
[12:25] <JohnnyEnglish> wotcha doing?
[12:25] <Nounou> hello
[12:26] <Nounou> nothing much, i've nothing to do at work so
[12:26] <Nounou> modeling woman
[12:26] <JohnnyEnglish> woo
[12:26] <JohnnyEnglish> real women?
[12:26] <Nounou> realistic yes, on maya

Image

Post Reply