Please use english language
It is currently 26 Feb 2020, 09:16

All times are UTC





Post new topic Reply to topic  [ 71 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next
Author Message
PostPosted: 09 Sep 2012, 18:07 
Offline
User avatar

Joined: 12 Jan 2012, 11:09
Posts: 79
-------------------------------------
Parametes :

#define NOT_BLURRING_SKY_MODE // not blurring the sky, enable this mode will use Gaussian blur only (DEPTH_OF_FIELD_QULITY 0) .
#define DEPTH_OF_FIELD_QULITY 3 // form 0 to 7, higher is more samples.
#define AUTO_FOCUS // enable auto focus
#define TILT_SHIFT // enable tilt shift
#define POLYGONAL_BOKEH // use polygonal shape bokeh or circular bokeh
#define POLYGON_NUM 5

// for auto focus
float2 FocusPoint=float2(0.5, 0.5); // the point you want to focus.
float FocusSampleRange=1.00; // sampling range of foucs, 0 is FocusPoint only
float NearBlurCurve=1.00; // control the blur from near to focal plane, higher is less blur
float FarBlurCurve=1.00; // control the blur from focal plane to far away, higher is less blur
float DepthClip=150.0; // the max distance you can see clear, over this distance will be blurred, no matter it's on focus or not.

// for static dof
float FocalPlaneDepth=0.50;
float FarBlurDepth=50.00; // the blur will increase from FocalPlaneDepth to FarBlurDepth

// for tilt shift
float TiltShiftAngle=30.0; // it will rotate the focal plane

// common

float BokehBias=2.00;
float BokehBiasCurve=0.75;
float BokehBrightnessThreshold=1.00; // any bright source that its brightness over BokehBrightnessThreshold
float BokehBrightnessMultipiler=2.00; // will increase its brightness by BokehBrightnessMultipiler.
float RadiusSacleMultipiler=4.00; // blur radius affects the size of bokeh

// noise grain
float NoiseAmount=0.35; // the max noise grain amount
float NoiseCurve=0.50; // lower the value, the noise grain will increase faster when out of foucs.


float ChromaticAberrationAmount=0.25; // the intensity of chromatic aberration
-------------------------------------

------------------------------------- update 0910 -------------------------------------

Fixed incorrect bokeh shape.

Image

------------------------------------- update 0911 -------------------------------------

Rewirted the auto focus code, it's more smooth now.
Fixed BokehBrightnessMultipiler parameter.

Image
Image

Static dof with qulity 0 (Gaussian blur only, so it's fast)
Image
Image
Image


------------------------------------- update 0912 -------------------------------------
Added a new mode "NOT_BLURRING_SKY_MODE" for blurring lods only and not affecting the sky.
Enable this mode will use Gaussian blur only because of quality reason.

Image

------------------------------------- update 0913 -------------------------------------
Improved performance.
Improved chromatic aberration.

Image
Image
Image
Image
Image
Image

------------------------------------- update 0915 -------------------------------------

Added tilt-shift feature
------------------------------------- update 0915 v2-------------------------------------

Added noise grain into blur
(the code is copied from effect.txt)


Image
Image
Image
Image
Image
Image
Image
Image
Image
Image


Attachments:
enbprepass_0915v2.zip [4.7 KiB]
Downloaded 3759 times


Last edited by gp65cj04 on 15 Sep 2012, 13:06, edited 19 times in total.
Top
 Profile  
 
Tomoko
PostPosted: 09 Sep 2012, 18:13 
Offline
*master*
User avatar

Joined: 05 Jan 2012, 22:34
Posts: 116
Location: France
God, that's why we needed multi-pass for ADOF, mate. Right? haha.
Excellent mate. -claps- :mrgreen:


Top
 Profile  
 
PostPosted: 10 Sep 2012, 17:56 
Offline
*blah-blah-blah maniac*

Joined: 31 Dec 2011, 19:42
Posts: 504
The shape is nice, but I don't think the autofocus is working entirely right.
Image
Shouldn't the distance here be in focus? If I'm just looking at the landscape it's fine, but looking through the arch like that makes the dof kick in.

Also the bokehbrightnessmultiplier affects even the things in focus, so pretty much anything on the screen that's bright becomes brighter. Candles become like strobe lights for example.

_________________
NLA v.2.0 beta - A test version of the latest NLA release.
Natural Lighting and Atmospherics for ENB - A Skyrim weather mod and preset.
High-Res bark textures - Some bark textures I made.
Dark Souls 2 ENB preset - Preset for Dark Souls 2.


Top
 Profile  
 
PostPosted: 10 Sep 2012, 18:12 
Offline
User avatar

Joined: 12 Jan 2012, 11:09
Posts: 79
Confidence-Man wrote:
The shape is nice, but I don't think the autofocus is working entirely right.
Image
Shouldn't the distance here be in focus? If I'm just looking at the landscape it's fine, but looking through the arch like that makes the dof kick in.

Also the bokehbrightnessmultiplier affects even the things in focus, so pretty much anything on the screen that's bright becomes brighter. Candles become like strobe lights for example.

Thanks for report.
I will fix this in the next update. :)


Top
 Profile  
 
PostPosted: 11 Sep 2012, 06:32 
Offline
User avatar

Joined: 12 Jan 2012, 11:09
Posts: 79
gp65cj04 wrote:
Confidence-Man wrote:
The shape is nice, but I don't think the autofocus is working entirely right.
Shouldn't the distance here be in focus? If I'm just looking at the landscape it's fine, but looking through the arch like that makes the dof kick in.

Also the bokehbrightnessmultiplier affects even the things in focus, so pretty much anything on the screen that's bright becomes brighter. Candles become like strobe lights for example.

Thanks for report.
I will fix this in the next update. :)


Updated now. :D


Top
 Profile  
 
PostPosted: 11 Sep 2012, 12:11 
Offline
*blah-blah-blah maniac*
User avatar

Joined: 02 Jan 2012, 21:07
Posts: 660
Location: Spain
How could i disable the chromatic aberration?

Awesome work ;)

_________________
Image
•••••••Youtube Channel•••••Skyrim Screenshots•••••Skyrim Mods•••••••
7700K + GTX 1080


Top
 Profile  
 
PostPosted: 11 Sep 2012, 12:58 
Offline
User avatar

Joined: 12 Jan 2012, 11:09
Posts: 79
Unreal wrote:
How could i disable the chromatic aberration?

Awesome work ;)


Set DoFDistortionAmount to 0. ;)


Top
 Profile  
 
PostPosted: 11 Sep 2012, 13:33 
Offline

Joined: 11 Sep 2012, 13:25
Posts: 13
Wow this DoF is amazing. One thing I noticed is that it seems to blow out the bloom with the settings I'm using. Is there anyway to control that in the prepass file or is just part of the package and I need to adjust accordingly?

//Screenshots using out of the box DOF settings unless noted


DOF=OFF (My normal settings)

Image


DOF=ON, DEPTH_OF_FIELD_QULITY=3

Image


DOF=ON, DEPTH_OF_FIELD_QULITY=0

Image

thanks and great work!


Top
 Profile  
 
PostPosted: 11 Sep 2012, 14:21 
Offline
User avatar

Joined: 12 Jan 2012, 11:09
Posts: 79
biz wrote:
Wow this DoF is amazing. One thing I noticed is that it seems to blow out the bloom with the settings I'm using. Is there anyway to control that in the prepass file or is just part of the package and I need to adjust accordingly?

//Screenshots using out of the box DOF settings unless noted


DOF=OFF (My normal settings)

Image


DOF=ON, DEPTH_OF_FIELD_QULITY=3

Image


DOF=ON, DEPTH_OF_FIELD_QULITY=0

Image

thanks and great work!


Try to tweak the parameters below, they will affect the brightness.

// common
float BokehBias=0.0;
float BokehBiasCurve=1.25;
float BokehBrightnessThreshold=1.0;
float BokehBrightnessMultipiler=0.0;


Top
 Profile  
 
PostPosted: 11 Sep 2012, 14:25 
Offline
*sensei*

Joined: 24 Mar 2012, 16:21
Posts: 288
Wow, this looks like tilt-shift. I love tilt-shift. I'll try that too.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 71 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group