Tremulous Forum
Media => Mapping Center => Topic started by: X-20 on December 21, 2008, 11:46:10 pm
-
Here is that one single shader that is a myth to everyone.
---
textures/mapname/texturename
{
surfaceparm trans
surfaceparm nomarks
surfaceparm nonsolid
surfaceparm nolightmap
qer_trans .5
deformVertexes move 3 1 0 sin 0 5 0 0.2
deformVertexes move .6 3.3 0 sin 0 5 0 0.4
deformVertexes wave 30 sin 0 10 0 .2
cull none
//nopicmip
{
map textures/mapname/texturename.tga
tcMod Scroll .5 -8
tcMod turb .1 .25 0 -.1
blendFunc GL_ONE GL_ONE
}
{
map textures/mapname/texturename.tga
tcMod Scroll .01 -6.3
blendFunc GL_ONE GL_ONE
}
}
---
Texture that i used for the shader.
http://files.filefront.com/xraintga/;12728657;/fileinfo.html
Credit to Seventh-Monkey for the texture, renamed by X-20.
-----
So in this case, my .shader file looks like this.
textures/xrain/xrain
{
surfaceparm trans
surfaceparm nomarks
surfaceparm nonsolid
surfaceparm nolightmap
qer_trans .5
deformVertexes move 3 1 0 sin 0 5 0 0.2
deformVertexes move .6 3.3 0 sin 0 5 0 0.4
deformVertexes wave 30 sin 0 10 0 .2
cull none
//nopicmip
{
map textures/xrain/xrain.tga
tcMod Scroll .5 -8
tcMod turb .1 .25 0 -.1
blendFunc GL_ONE GL_ONE
}
{
map textures/xrain/xrain.tga
tcMod Scroll .01 -6.3
blendFunc GL_ONE GL_ONE
}
}
-----
If anyone can make a more FPS friendly version of this, please post it.
Have fun! And here is a example map of the shader in use.
http://files.filefront.com/test+project+295pk3/;12721133;/fileinfo.html
-
By FPS, how low does it drop? A map with rain would be so unbelievably awesome I would implode
-
Well in the map that i posted in Dev. shots, from the one brush that i made outside the window, i get...
Looking at a wall = 200 fps (capped it there)
Looking out the window = 76-82 fps
EDIT: Included the example map in first post. :granger:
-
That's awesome! Also, I'm sure that one could do "layers" of it outside to give it a more realistic look, but it already looks brilliant as it is. Good job, X-20.
Also, the map file is called "project-295", so do /devmap project-295.
-
it looks really nice ;) did the rain overlap with the wall because i get graphical glitches when sometimes the wall flickers with the rain shader.
It looks great, im gonna use it in my map if its alright with you?
-
Amz the shader is basically water just with a different texture. It'll 'wave' into the walls sometimes. (If you know what I mean :P)
-
oooooo just used it. So it wont make when you're inside it? just the effect from the outside (ie 2d?)
-
oooooo just used it. So it wont make when you're inside it? just the effect from the outside (ie 2d?)
thats what i was thinking but i couldve sworn that in the random dev shots he had a pic with himself in it...
knowitall> thanks ;)
-
I think W:ET had some pretty efficient rain shaders.
You could download it and see if you can salvage some shaders from it and use your own textures for legality purposes.
-
(http://i530.photobucket.com/albums/dd342/prof_flex/shot0058.jpg)
(http://i530.photobucket.com/albums/dd342/prof_flex/shot0057-2.jpg)
it has potential... :D
-
wow nice!
-
Brushwork and texturing still look a bit riged, but otherwise, great work.
-
Great!
:D Very nice, Ive always wanted to see a map with rain in it!
-
can you walk through the rain, or is it still solid?
and if you can walk through the rain, does it have a bigger effect on FPS?
-
can you walk through the rain, or is it still solid?
and if you can walk through the rain, does it have a bigger effect on FPS?
In the shader code, you can see it is not solid. And I am betting it has a DRASTIC effect on some machines. It would eat mine to pieces I bet.
-
i hate to be a necro'er but the link to the texture is borked :d anyone have a textre upload i can use?
-
http://www.twhl.co.za/tutorial.php?id=52
There is a wad file. I wonder if this jpg file is the same.
http://twhl.co.za/tutpics/scrollrain.jpg
-
Whats the difference between using this and the gl_weather_rain thats in the engine?
-
This exists and gl_weather_rain doesn't ?
-
Whats the difference between using this and the gl_weather_rain thats in the engine?
Another quality posting from our favourite burned cooked meat.
-
(http://i530.photobucket.com/albums/dd342/prof_flex/shot0058.jpg)
(http://i530.photobucket.com/albums/dd342/prof_flex/shot0057-2.jpg)
it has potential... :D
What map is this! i want it
-
1. Please don't quote images
2. It looks like a map he was working on that he never released
-
He may have never have released it on the tremulous.net forums but he did complete it. I'm not sure what he ended up calling it but it'll be one of the maps at maps.tremwars.com (http://maps.tremwars.com).
-
If some one finds out what it is called POST!!! IT!!!
And I will Give you all my credits :armoury:/evos next time i play with you!
-
he sent me a demo somewhere, man i miss that guys mapping it was pro.
-
Whats the map called?????? or your dead :tyrant:
-
From looking at those screenshots and looking through that list. i would think its darkcastle.
I stuck it in the appdata/tremulous/base folder and hosted a LAN server but it doesn't show up in the list :S
-
incorrect, it doesnt have a name and isnt on that list, its called "mymap1' and ill contact him bout maybe a release of all hi s maps he did.
-
Yeah, pretty much all his maps should be there. That's the map repo Chuck/nubcake used for putting his maps up for testing. Apparently he's come back so maybe we'll see some more maps soon.
It's called fool's gold (http://maps.tremwars.com/base/map-foolsgoldbeta.pk3). Please gimme some credits and evos now k thanx.
-
Thanks awesome map! do know how the game play would be but its cool ;D :battlesuit:
you will get many Credits :armoury:/evos but i need to know what server you play on
Is danmal your player name?
-
Don't worry about it. I play on Australian servers so it might be hard for you to give me any evos.
-
he sent me a demo somewhere, man i miss that guys mapping it was pro.
Yes it was...
-
self-righteous!