Home
Home
Register
Login

Resources
Forum






rssshader_depth_of_field

Category:script
Author:Ren712
Downloads:3080
Rate:You need to be logged in to vote
Rating:4.3 (11 Votes)
Description:
Resource: Shader Depth of Field v0.1.0
Author: Ren712

This resource adds a simple full screen effect.
What it does is create the depth of field effect.
Works good with all the shaders.

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)

Comments (10) | Download latest version | Report

Version history

Version Publish Date Changes
0.1.0 2015-07-05 02:12:49 -Removed focal adaptation lua code ( all that is needed is in shader)
-Added depth sorting algorythm to prevent color bleeding.
Download
0.0.9 2015-06-16 16:57:17 -added brightBlurAdd veriable Download
0.0.8 2015-06-12 11:25:55 -Deleted unused functions Download
0.0.7 2015-06-12 02:21:06 -New depth texture effect -Autofocus adaptation -Fixed variables that were not properly set (why has nobody told me that ?) Download
0.0.6 2013-12-08 04:16:29 - Added MaxCutBlur variable to set blur level of sky. Download
0.0.5 2013-12-06 01:02:26 - Slightly changed the bluring method
- Added brightBlur variable - makes darker pixel get less blur
- Added some variables to get proper depth spread
- set DepthCut to 'unblur' the farthest bounds of the world (sky,sun etc..)
Download
0.0.4 2013-11-22 15:42:39 -Added version check (due to current MTA bugfix) Download
0.0.3 2013-10-20 21:17:51 -Layered effect - works with other full screen effects now.
-Switching the effect with /sDoF
-added a command /dxGetStatus
Download
0.0.2 2012-11-22 15:12:18 Aded error handling, readme file. Download
0.0.1 2012-11-19 00:16:54 First public release Download