Water_caulk?
#1
Posted 01 February 2012 - 09:58 AM
I have water textures, which is easy, but when it came to shaders, i was lost. This was because I have two water shaders. one is called "water" and the other is called "water caulk".
Which one do I use?
Also, is there a shader to remove the black bits on fence textures?
#2
Posted 01 February 2012 - 01:06 PM
textures/ut_turnpike/will_fence_chainlink
{
surfaceparm trans
cull none
nopicmip
{
map textures/ut_turnpike/will_fence_chainlink.tga
blendFunc GL_ONE GL_ZERO
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
Its shader from turnpike, if you want to use it, change texture paths.
#3
Posted 01 February 2012 - 04:10 PM
http://www.urbanterr...3-acommon-pack/
#4
Posted 02 February 2012 - 06:27 AM
What do i do with that text you gave me?
Do i open textedit and put it in there? or in radiant console?
btw thanks xandaxs
#5
Posted 11 October 2012 - 10:46 PM
or if you already have your mapname.shader then just place the code in there.. and like ValkoVer said, just change the texture paths :]
edit: if you do save it as an extra shader file, then make sure to add that name of the shader to the shaderlist.txt file..
you would just add 'fence' in there if that was the name..
This post has been edited by wraith: 11 October 2012 - 10:55 PM
#6
Posted 12 October 2012 - 05:25 AM
#7
Posted 12 October 2012 - 12:46 PM
#8
Posted 12 October 2012 - 02:40 PM
Then in Text Edit, make sure you select the "Make plain text" option in the "Format" menu. Then save... it will save with .txt extension ... just rename to .shader
This post has been edited by OlympicSmoker: 12 October 2012 - 02:54 PM
#9
Posted 15 October 2012 - 12:12 AM
OlympicSmoker, on 12 October 2012 - 02:40 PM, said:
Then in Text Edit, make sure you select the "Make plain text" option in the "Format" menu. Then save... it will save with .txt extension ... just rename to .shader
Cheers