HomeNewsFeaturesLicensingDownloadsScreenshotsFAQRoadmap Contact Us
Search:
8 Online

Community

Discussion Topics Recent Postings User Contributions General Articles Example Documentation Credits

Licensed Developer

Programmer's Manual Artists Manual Tutorials and Articles

Programming: Game Code

Game Code Overview Server Side Game Code Client Side Game Code

Programming: System

Alphabetical Function List Renderer File System Collision & Ray Casting Low Level Audio Game Audio The Console Console Variable List Multiplayer Localisation Maths Library Memory Manager Model File Formats Texture Formats

Art: Overviews

Specifications Shaders Particle Systems Lens Flares Cipher console Cipher file types Tutorials Reference

Art: Tools

Shader Designer Particle Designer 3dsmax tools Model Conversion Font Generator

Cipher Engine
Game Development Search Engine
GameDev.net
You are not signed in - [sign in] [register]

New water effect

Submitted by: Rhuarc
Date Submitted: 2005-01-21 01:50:03

Shader Script

textures/watershade2
{
	normalmod regenerate
	vertexmod uvwave 0.250 0.500 sin 0.000 0.005 100.000 2.000
	{
		tex cubemap textures/sky
		texsrc reflectionmap
		rgbsrc constant 1.000 1.000 1.000
		alphasrc constant 0.850
		blendfunc blend
	}
	{
		tex map textures/caustic
		blendfunc add
		texmod scroll -0.080 -0.030
		rgbsrc wave sin 0.350 0.100 0.000 0.210
	}
	{
		tex map textures/caustic
		blendfunc gl_src_alpha gl_dst_alpha
		texmod scroll 0.150 -0.150
		texmod scale 0.500 0.500
		rgbsrc dot3 1.000 0.000
	}
}


Screenshot

New water effect

Description

This is a modified version of rikh's water shader, just tweaked little things and added a 3rd pass that plays two water textures atop eachother.

The textures are all defaults included with cipher...

[Recent Contributions] [Recent Shaders]

User Contributed Comments

ryujijitei 27th June, 2005 17:23
Nice work, man.




Register and Sign In to discuss this article