2 registered members (TipmyPip, 1 invisible),
18,789
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Distortion Shader
[Re: ArchitectTempest]
#44923
04/27/05 07:13
04/27/05 07:13
|
Joined: Oct 2002
Posts: 8,939 planet.earth
ello
Senior Expert
|
Senior Expert
Joined: Oct 2002
Posts: 8,939
planet.earth
|
please ppl, use the search button , there are many distortion shaders in this forum. its a simple thing:
distortionOffset=tex2D(distortionMap,(texCoord+float2(xSpeed,ySpeed)*vecTime.w/generalSpeed)+float2(xScale,yScale)); distorted=tex2D(renderedView,texcCoord+distortionOffset*levelOfDistortion);
you need to place this into the pixelShader and there aou are. apply the shader to a screenaligned quad. check my download-section to fine a good startup-set.
as matt says, pro-version or his render_dll
www.earthcontrol.dequoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
|
|
|
|