lfnetwork.com mark read register faq members calendar
Thread: help: water-shader...
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum.
Old 04-15-2004, 05:02 PM   #1
SeRig
Lurker
 
SeRig's Avatar
 
Join Date: Apr 2004
Location: Germany, Europe
Posts: 1
help: water-shader...

Hi.
I've tried to create a water-shader with the properties of glass (shine, transparent etc.), just as water.
So, my water got glass :/ it's solid and there are no plash-sound and so on. Perhaps, you may help me?
That's my shader:

textures/matrix/water
{
qer_editorimage textures/matrix/water1.tga
q3map_tesssize 64
qer_trans 0.1
surfaceparm nonopaque
surfaceparm nonsolid
surfaceparm water
surfaceparm trans
q3map_material Water
q3map_nolightmap
q3map_onlyvertexlighting

{
animmap 8 textures/matrix/water1.tga textures/matrix/water2.tga
textures/matrix/water3.tga
blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
}
{
map textures/matrix/glass_shine3
blendFunc GL_ONE GL_ONE
tcGen environment
}
}

where is the mistake
Thanks. Greetz, SeRig (known as the German mapper 'Thrawn').
SeRig is offline   you may: quote & reply,
Old 04-15-2004, 07:21 PM   #2
WadeV1589
Veteran
 
WadeV1589's Avatar
 
Join Date: Sep 2003
Location: Leeds, UK
Posts: 952
Does the shader actually work? I mean can you see the animmap with the shiny surface on top of it?

If that's the case have you remembered to add your .shader file to shaderlist.txt; it needs to be in there otherwise the brushes with that texture on will not be compiled as water.

You should also add surfaceparm water in there; I'm not sure if it's deprecated now but add it just incase. Oh yeah and seen as it's water sort seethrough

Also remember to make a brush in system/caulk_water then texture the top surface with your shader - that's just to for FPS and so on but it's good to do it!


StargateMods.com - collaborating all the Stargate mods out there.

SG4RealJA - get a bit of SG realism!
SGEgyptJA - flying and dialing a gate only to be killed by it!
WadeV1589 is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum.
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Mapping > help: water-shader...

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:19 PM.


LFNetwork, LLC ©2002-2010 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.