Fun with Shaders in BF2142 (DX9) - Part 2: Discowater

Channel:
Subscribers:
108
Published on ● Video Link: https://www.youtube.com/watch?v=Twxmsfm5110



Battlefield 2142
Game:
Duration: 0:49
350 views
3


I played around with the pixel shader program located in the RaShaderWaterBase.fx and tried to use some position data to color the pixels.
For the pixel shader is not allowed to get position data like the vertex shader, I used the texture coordinates of the water texture and used them as arguments for some trigonometric functions (sin, cos). This video shows the result - the red raindrops are still enabled, I will remove it in the next videos.







Tags:
bf2142
battlefield
2142
mod
pixel
vertex
shader
tunis
harbor
trigonometry



Other Statistics

Battlefield 2142 Statistics For Rav3n

At this time, Rav3n has 2,599 views for Battlefield 2142 spread across 5 videos. Less than an hour worth of Battlefield 2142 videos were uploaded to his channel, or 5.76% of the total watchable video on Rav3n's YouTube channel.