Welcome to CMM

The CMM forum software was recently upgraded, some things may have changed and some things may be broken or not working. Please let me know by PM or on IRC if you have any problems using this forum.

Also, I've removed the skybox and shader links for now, the shader generator page was being abused and as we're moving towards a ue4 mapping base, they're redundant.

Please, help me! (2)

A place to chat about anything you like, within reason
mateusak
Posts: 2
Joined: Wed Apr 25, 2012 12:25 am

Please, help me! (2)

Postby mateusak » Fri Apr 27, 2012 10:03 pm

Well, when I try to texture in the water that I do in GtkRadiant, when I test the game it does not get water (do not cross and no sound of water and other aspects that have water). And when I put no texture! help please

User avatar
GanjaGuy
Posts: 29
Joined: Thu Mar 29, 2012 9:25 am

Re: Please, help me! (2)

Postby GanjaGuy » Sat Apr 28, 2012 2:26 am

you cant use just any texture on water... well.. you can but you need to have a shader telling the engine that its actually water.

for example, the first shader here gives you clear non textured water in game with no movement. now for a more realistic look/feel you want a textured, moving (to simulate non stagnant water) water.. for that check the second one out.

Code: Select all

textures/squidrena/whawa
{
   surfaceparm water
   surfaceparm nomarks
   surfaceparm nolightmap
   surfaceparm nodraw
}


this shader takes your water texture (or a few water textures if youd like, i used the same image as that was my preference) and creates movement and transparency to simulate a more natural water..

Code: Select all

textures/squidrena/sqgrwtalter
   {
      qer_editorimage textures/squidrena/sqgrwtalter.tga
      qer_trans .3
      q3map_globaltexture
      surfaceparm trans
      surfaceparm nonsolid
      surfaceparm water
      cull disable   
      {
         map textures/squidrena/sqgrwtalter.tga
         blendFunc GL_dst_color GL_one
         rgbgen identity
         tcmod scale .5 .5
         tcmod transform 1.5 0 1.5 1 1 2
         tcmod scroll -.05 .001
      }

      {
         map textures/squidrena/sqgrwtalter.tga
         blendFunc GL_dst_color GL_one
         rgbgen identity
         tcmod scale .5 .5
         tcmod transform 0 1.5 1 1.5 2 1
         tcmod scroll .025 -.001
      }

      {
         map textures/squidrena/sqgrwtalt.tga
         blendFunc GL_dst_color GL_one
         rgbgen identity
         tcmod scale .25 .5
         tcmod scroll .001 .025
      }

      {
         map $lightmap
         blendFunc GL_dst_color GL_zero
         rgbgen identity     
      }
}


for more info and some other shaders ppl commonly have troubles with check this thread.
http://www.urbanterror.info/forums/topi ... y-of-sorts

User avatar
xandaxs
Posts: 959
Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal
Contact:

Re: Please, help me! (2)

Postby xandaxs » Sat Apr 28, 2012 12:31 pm

[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


Return to “General chit chat”

Who is online

Users browsing this forum: No registered users and 3 guests

cron