Caustic water


(Inf) #1

A copy & paste from my thread at Quake3world in hope for more help:

If my memory is correct then I know for sure that I’ve seen it somewhere. Either in a thread here or over at SD, in a map or in a Q3map2 guide.

What am I talking about? Realistic water. As in see through water that reflects on the surrounding walls. Below is a screen from FEAR to illustrate my point. Please tell me if I’m growing senile or not. If not, I would appreciate a push in the right direction as to where to find the neccesary info/files/map/etc.

Thanks in advance!

Good to see your still breathing Shallow :smiley:

It’s always nice to get some support from you man, thanks!

Sum, your right, I found it and it’s called “clear_calm1”. Thanks for that suggestion. dONKEY said there was a map that used it called “Last Minutes Of Pompeii” by aVe. You can find it on lvl by clicking here.

I did a little test based on Shallow his suggestion. I posted a screenshot below to illustrate the result. I only made a patch covering the wall and I applied the water shader to it. The problem ofcourse is that there is no blending going on and you can clearly see I used a patch, due to the moving effect of the water. I’ll experiment a bit more next week.

Texture projection does not seem to work better in this situation. In fact, it doesn’t seem to work at all. I’ve followed the precise instructions about setting this up as posted by Rgoer in this thread over at SD. I see no difference when using this method in comparison to applying a patch with the shader on it. Ingame it looks exactly the same and I tried different compile options.

As for Shallow his suggestion. I built the scene precisely as you illustrated but the alphafade brushes don’t seem to have a real effect. I’m using the shader from the map I mentioned earlier. This is the shader:

// Caustics
// Shader structure d’après ch4ndl3r

textures/caustics/water_caustics
{

qer_editorimage textures/liquids/pool3d_3e.tga
qer_trans 0.75

q3map_noTJunc
q3map_nonplanar
q3map_shadeAngle 179
// rendu plus efficace

surfaceparm nonsolid
surfaceparm nomarks
surfaceparm trans

// Ces deux directives sont obligatoires
surfaceparm nolightmap
polygonOffset

// optionnel
sort 6
// Place le decal légèrement
// en avant par rapport à la surface du brush

//cull disable
//deformVertexes wave 64 sin .25 .25 0 .5

{
map textures/liquids/pool3d_5e.tga
blendFunc GL_dst_color GL_one
tcmod scale .5 .5
tcmod scroll .025 .01
rgbGen identity
}
{
map textures/liquids/pool3d_3e.tga
blendFunc GL_dst_color GL_one
tcmod scale -.5 -.5
tcmod scroll .025 .025
}
}

Below you’ll find a screenshot of the ingame result which appears to remain the same whatever I do. The point is that I want it to blend more with the underlying texture to give it a more natural effect. Now it still is clearly visible that a patch is applied by the difference in color. Or perhaps the shader is simply too bright. I’ve looked up all the used shader commands in the manual but I’m clueless as to how to effectively change this.


(ignoblo) #2

Hi!

i know a map using this kind of effect , it’s called obj_vorort_b
this is a custom map for the ET mod truecombat elite 0.49
it’s using this shader to simulate water reflection directly on the brush ( no patch):

textures/1sese_bricks/reflection
{
qer_editorimage textures/1sese_bricks/brick-med-tan.tga
{
map textures/1sese_alpha/water1.tga
tcmod scale -.25 -.25
tcmod scroll .1 .04
rgbgen wave sin .75 0 .5 2
}
{
map textures/1sese_alpha/water1.tga
blendFunc GL_one GL_ONE
tcmod scale .25 .25
tcmod scroll .1 .1
rgbgen wave sin .75 0 0 2
}
{
map textures/1sese_bricks/brick-med-tan.tga
blendFunc GL_one GL_src_color
rgbgen identity
}
{
rgbGen identity
map $lightmap
blendfunc gl_dst_color gl_zero
}
}


(Inf) #3

Thanks for the heads up. I got it to work this weekend. Not entirely according towards your suggestion, but the result is satisfying none the less. I didn’t post a reply yet, because I’m working on a test scene, to really illustrate the achieved effect. I will post it as soon as it’s done.


(pazur) #4

Wow… that looks great!


(lmno240) #5

Pearlove.com lists the latest pearl jewelry products with affordable wholesale prices. Pearlove are willing to design different jewelry styles to meet different occasions, including wedding jewelries, birthday gift, anniversary jewelry, cocktail, Christmas jewelry, and etc. The jewelries are hand made of genuine cultured freshwater pearls, 925 silver materials, Swarovski crystals, corals, turquoises and gemstone beads. Pearlove.com, online jewelry wholesaler of Chinese fine jewelries, is launching the newest models on the webpage, and update new products everyday. To meet different market, Pearlove sorts the most suitable styles to make into jewelry sets and puts them in respectively corresponding products catalogues. For example, jewelry styles can be worn on Christmas Eve are put in catalogue “Christmas Gift Jewelry”; daily wear styles are in catalogue “Office & daily wear”; more details are showed on: http://www.pearlove.com/pearl-jewelry-c-5.html The styles listed in catalogue “Pearl Jewelry Set” are only part of Pearlove’s fantastic jewelries. Pearlove designs and hand crafts fine jewelry featured with a variety of materials, including gemstone beads, turquoises, corals and sterling silver fittings. Pearlove.com sells its products with reasonable wholesale prices. The beauty of Pearlove’s designs continues to earn the company praise and reputation from clients who purchase its jewelry for wholesale business, personal or retail use. Because the range of designs provided by Pearlove Jewelry Inc. allows the company to fit a range of occasions and holidays, including weddings, anniversaries, birthdays and Christmas. What’s more, Pearlove’s designers also pay pretty attention to the assortment of both loveliness and versatility of the jewelry styles. They immit this spirit at every time they design jewelry styles. In this way, Pearlove’s Jewelry styles usually can be multi-used, one style jewelry usually can be used for at least 3 occasions. For instance, model NS49 can be worn in wedding party, anniversary party, birthday or daily. More details are showed on http://www.pearlove.com/christmas-gift-jewelry-cl-49.html and https://www.pearlove.com/products_new.php . Pearlove Jewelry Inc. is able to keep the cost prices of their pearl jewelry down for a variety of reasons. The company lies in China, all pearls are directly from Chinese pearl farms at the lowest costs. In addition, the company can control the labor costs at a very low level. Pearlove owns a great and high efficiency working team which can cut down working cost during high efficiency team work. In this way, this company can offer medium and high quality pearl bridal jewelry at the lowest prices. About Pearlove Jewelry Inc.Pearlove Jewelry Inc. owns online jewelry store - http://www.pearlove.com/. The jewelry products include freshwater pearl jewelries like necklaces, bracelets, earrings, pendants and rings, sterling silver jewelries and other gemstone jewelries such as coral, turquoises, shells, and etc.


(lyjg0117) #6

唇部整形 嘴部整形 大连拉皮手术 大连除皱 上海除皱