000
03.07.2010, 17:08
sync
|
Hallo, Ich habe Poolwasser mit folgenden beiden vmt-Dateien erstellt:
//acid_poolwater.vmt
"Water" { "%tooltexture" "dev/water_normal" "$refracttexture" "_rt_WaterRefraction"
"$abovewater" 1 //"$refracttint" "[.7 .7 .2]" //"$reflecttint" "[1 1 0.9]" "$reflectamount" ".3" "$cheapwaterstartdistance" "500" "$cheapwaterenddistance" "1000" "Water_DX90" { "$reflecttexture" "_rt_WaterReflection" "$reflectentities" 1 "$refractamount" "1" } "Water_DX81" { "$refractamount" ".2" } "Water_DX80" { "$refractamount" ".2" }
"$scale" "[.5 .5]"
"$bumpmap" "dev/water_dudv" "$normalmap" "dev/water_normal" "$envmap" "env_cubemap"
"%compilewater" 1 "$surfaceprop" "water" "$bottommaterial" "liquids/acid_waterbeneath" "$bumpframe" "0"
"$fogenable" 1 "$fogcolor" "[.5 1 1]" "$fogstart" 0 "$fogend" 256
"Proxies" { "AnimatedTexture" { "animatedtexturevar" "$normalmap" "animatedtextureframenumvar" "$bumpframe" "animatedtextureframerate" 16.00 }
"TextureScroll" { "texturescrollvar" "$bumptransform" "texturescrollrate" .00 "texturescrollangle" 45.00 } "WaterLOD" { } } }
//acid_waterbeneath "Water" { "$abovewater" 0 "%compilewater" 1 // "$forcecheap" 1 "$CHEAPWATERSTARTDISTANCE" 500.0 "$CHEAPWATERENDDISTANCE" 1000.0 // bottom materials shouldn't use $envmap!!! They won't work if they do. // "$envmap" "env_cubemap" "%tooltexture" "dev/water_normal" "$refractamount" "1.0" "$refracttint" "[0.95 1.0 0.97]"
"$reflectamount" "1.0" "$reflecttint" "[1 1 1]"
// "$reflecttexture" "_rt_WaterReflection" "$refracttexture" "_rt_WaterRefraction"
"$scale" "[1 1]"
"$bumpmap" "dev/water_dudv" "$normalmap" "dev/water_normal"
"$surfaceprop" "water" "$bumpframe" "0"
"$fogenable" 1 "$fogcolor" "{128 255 255}" "$fogstart" -2048.00 "$fogend" 1024.00
"Proxies" { "AnimatedTexture" { "animatedtexturevar" "$normalmap" "animatedtextureframenumvar" "$bumpframe" "animatedtextureframerate" 30.00 }
"TextureScroll" { "texturescrollvar" "$bumptransform" "texturescrollrate" .00 "texturescrollangle" 45.00 }
"WaterLOD" { } } }
 Das Wasser funktioniert ingame, allerdings ist kann man nicht herausschauen. Von unten betrachtet ist die Wasseroberflaeche komplett Nebelfarben, also wird wohl auch der Nebel Ursache des Problems sein.
Wie kann das an den Fogeinstellungen liegen? Was muss ich anders machen?

--
[CS:S-, CSP- und TF2-Maps ]
Dieser Beitrag wurde am 03.07.2010 um 17:18 von sync bearbeitet.
|
|
Profil || Suche
|
001
11.07.2010, 16:24
sync
|
Immer noch kein Fortschritt. Weiß keiner, was der Fehler ist?
--
[CS:S-, CSP- und TF2-Maps ]
|
|
Profil || Suche
|
002
11.07.2010, 17:32
fun-tex
|
vlt sieht man von unten einfach nur den nebel, da das wasser eh schon einen trübenden effekt hat wenn man raus guckt. probier mal ob du ohne den nebel rausgucken kannst. gl
--
Hilfestellung nach dem Vorbild TheWall: "Lies die Tutorials, Kacknoob wolololo" -Agamemnon-Hellmapper
|
|
Profil || Suche
|
003
11.07.2010, 18:22
sync
|
Das ist gerade das Problem. Ich brauche unter Wasser unbedingt Fog, damit es realistisch bleibt. Schalte ich den Fog ganz aus verfliegt auch der Effekt, ich will aber Nebel und eine durchsichtige Obeflaeche.
--
[CS:S-, CSP- und TF2-Maps ]
|
|
Profil || Suche
|
004
11.07.2010, 21:41
fun-tex
|
nebel unter wasser? ähm ja...
--
Hilfestellung nach dem Vorbild TheWall: "Lies die Tutorials, Kacknoob wolololo" -Agamemnon-Hellmapper
|
|
Profil || Suche
|
005
12.07.2010, 12:54
Night Wolf
|
Der fogstart beim beneath-water hat einen Wert von -2048 und endet bei 1024. Anders geschrieben könnte es auch -1024 und 0 heißen. Anders herum würde es mehr Sinn ergeben. Probiere doch Testweise die selben Einstellungen wie beim above-water aus (0 - 256).
--
Muh sag ich da! ---------------------- All das ist thewall: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
|
|
Profil || Suche
|
006
16.07.2010, 15:31
sync
|
So funktioniert es, danke. Nur bloed dass es dann im Wasser nicht mehr so nach Pool aussieht wie ich es gern haette. -2048/1024 macht das Wasser richtig trueb, nur tritt bei negativem fog_start eben der Bug auf. Naja, kann man nichts machen.
--
[CS:S-, CSP- und TF2-Maps ]
|
|
Profil || Suche
|