rssshader_water_refract_test2
Category: | script |
---|---|
Author(s): | Ren712 |
Downloads: | 7295 |
Rate: | You need to be logged in to vote |
Rating: | 3.4 (18 Votes) |
Description:
Resource: Shader water refract test 2.1 v0.1.0
Author: Ren712
2013-11-22: If you experience reduced draw distance, update
your MTA to newest nightly version. Minimal version is: r5899
I have applied version check to (kind of) enforce that.
changes:
-Added version check (due to current MTA bugfix)
-Applied some of the code from watershine
-Replaced a noise texture with the watershine one
-Added a fallback water shader (if depthbuffer not supported)
-You can switch on and off the effect typing /sWaterRefract
This shader uses some vertex and pixel calculations from water_shader by Ccw.
http://wiki.multitheftauto.com/wiki/Shader_examples
The effect uses screen depth for refraction.
It doesn't look as nice as previous 'Shader water refract test' but it works properly.
It might not work on some older GFX (especially INTEL).
It is due to Zbuffer usage.
-- Reading depth buffer supported by:
-- NVidia - from GeForce 6 (2004)
-- Radeon - from 9500 (2002)
-- Intel - from G45 (2008)...
(more)
Author: Ren712
2013-11-22: If you experience reduced draw distance, update
your MTA to newest nightly version. Minimal version is: r5899
I have applied version check to (kind of) enforce that.
changes:
-Added version check (due to current MTA bugfix)
-Applied some of the code from watershine
-Replaced a noise texture with the watershine one
-Added a fallback water shader (if depthbuffer not supported)
-You can switch on and off the effect typing /sWaterRefract
This shader uses some vertex and pixel calculations from water_shader by Ccw.
http://wiki.multitheftauto.com/wiki/Shader_examples
The effect uses screen depth for refraction.
It doesn't look as nice as previous 'Shader water refract test' but it works properly.
It might not work on some older GFX (especially INTEL).
It is due to Zbuffer usage.
-- Reading depth buffer supported by:
-- NVidia - from GeForce 6 (2004)
-- Radeon - from 9500 (2002)
-- Intel - from G45 (2008)...
(more)
Version history
Version | Publish Date | Changes | |
---|---|---|---|
0.1.0 | 2013-11-22 15:18:33 | -Added version check (due to current MTA bugfix) | Download |
0.0.9 | 2013-11-13 02:51:44 | -The refraction is now sky-colored | Download |
0.0.8 | 2013-11-10 14:58:54 | -Changed the wave texture to more appropriate. | Download |
0.0.7 | 2013-10-22 07:31:29 | -Applied some of the code from watershine -Replaced a noise texture with the watershine one -Added a fallback water shader (if reading depthbuffer not supported) -You can switch on and off the effect typing /sWaterRefract -/dxGetStatus for error reporting |
Download |
0.0.6 | 2012-12-02 04:29:45 | Update v0.0.6 | Download |
0.0.3 | 2012-11-27 23:31:28 | First public release | Download |