Author Topic: Snow/blizzard Shader  (Read 5252 times)

A Spork

  • Spam Killer
  • *
  • Posts: 1010
  • Turrets: +37/-230
    • Spork - Unvanquished.net
Snow/blizzard Shader
« on: January 15, 2011, 09:05:14 pm »
So, basically i'm creating a smallish outside section for Thule, and I want it to look like its Blizzarding(or at least snowing).
I tried using that rain shader found here, and just altering the texture to look more like snow, but that doesnt work(Just get a box that looks like the texture is just painted on it, but its nonsolid)
I've also tried modifying a moving water shader with fog, but that just goes notex.


Can anyone give me a hand with this?
Don't shoot friend :basilisk:! Friend :basilisk: only wants to give you hugz and to be your hat

Proud Member of the S.O.B.F.O.B.S.A.D: The Society Of Basilisks For Other Basilisks Safety and Dominance
:basilisk:    :basilisk:    :basilisk:

DraZiLoX

  • Posts: 844
  • Turrets: +24/-24
Re: Snow/blizzard Shader
« Reply #1 on: January 15, 2011, 11:47:04 pm »
Well, there is nice snow particle system in niveus, is that fine?

A Spork

  • Spam Killer
  • *
  • Posts: 1010
  • Turrets: +37/-230
    • Spork - Unvanquished.net
Re: Snow/blizzard Shader
« Reply #2 on: January 16, 2011, 04:04:51 am »
Well withthe size of the area a particle system would absolutely murder the FPS...
Don't shoot friend :basilisk:! Friend :basilisk: only wants to give you hugz and to be your hat

Proud Member of the S.O.B.F.O.B.S.A.D: The Society Of Basilisks For Other Basilisks Safety and Dominance
:basilisk:    :basilisk:    :basilisk:

DraZiLoX

  • Posts: 844
  • Turrets: +24/-24
Re: Snow/blizzard Shader
« Reply #3 on: January 16, 2011, 10:05:22 am »
smallish outside section
Posted it for that up there, but okay.

CATAHA

  • Posts: 539
  • Turrets: +8/-18
    • Tremulous Lair
Re: Snow/blizzard Shader
« Reply #4 on: January 16, 2011, 11:25:57 am »
You can try use few patch meshes instead of brushes.
Or (may be) you have problems in shader. Seems you used 'snow' image without transparency or something.
Russian q3/trem mapping site: http://tremlair.krond.ru/
=[ Boxmaps suck if they have no concept ]=

Ice Trap (InstaGib)

Other maps: A.T.D*S Remake

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Snow/blizzard Shader
« Reply #5 on: January 17, 2011, 03:53:29 am »
You can try use few patch meshes instead of brushes.
Or (may be) you have problems in shader. Seems you used 'snow' image without transparency or something.
The following blendFunc
Code: [Select]
blendFunc GL_ONE GL_ONE...will definitely produce transparency results.

CATAHA

  • Posts: 539
  • Turrets: +8/-18
    • Tremulous Lair
Re: Snow/blizzard Shader
« Reply #6 on: January 17, 2011, 11:32:10 am »
Depends from source image i think. =D
Russian q3/trem mapping site: http://tremlair.krond.ru/
=[ Boxmaps suck if they have no concept ]=

Ice Trap (InstaGib)

Other maps: A.T.D*S Remake

jm82792

  • Posts: 630
  • Turrets: +9/-34
Re: Snow/blizzard Shader
« Reply #7 on: January 17, 2011, 06:24:01 pm »
Animate textures on planes(with transparency layer) and add some random movement for distance where you can't see it up close.
The planes would have an image of snow falling and would save FPS theoretically speaking.