![]() ![]() Most of the depth of field (DoF) settings can be changed in the enbdepthoffield.fx file itself or in-game via the GUI. While all information is applicable, it's not a complete, rounded reference. The sharpen files & settings are included in Skyrim Enhanced Shaders.This is a work in progress and is thus incomplete. I've tested with Confident ENB and HD6 Cinematic Lighting. Increase the NEXT as needed (very clunky macro method)ĮDIT: I tweaked a couple of values and a comment after some quick testing. ![]() VertexShader = compile vs_3_0 VS_Passthrough() The technique itself, relies on pre-set SHADER macro Each sucessive technique has an increasing name VS_OUTPUT_POST VS_Passthrough(VS_INPUT_POST IN) (0.10) Actually used for bloom, but may be useful here (user defined constant factor) (-10.10) For bloom it controls how much to dark in the night or when scene is dark (user defined constant factor) I don't know if these actually do anything, but I included them regardless Color of the screen with time dependent inertia #define ScreenRect float2(ScreenWidth, ScreenHeight) #define ScreenHeightInv (ScreenScaleY / ScreenWidth) #define ScreenHeight (ScreenWidth / ScreenScaleY) All versions: definitions for easier access #define ScreenScaleYInv (1.0 / ScreenScaleY) #define ScreenWidthInv (1.0 / ScreenWidth) Compatibility mode with previous versions - size and scaley are still individual variables Res=lerp(res, origcolor, saturate(rgray)) įloat origgray=max(res.x, res.y) //dot(res.xyz, 0.333) įloat4 cnoi=tex2Dlod(SamplerNoise, coord) float rgray=max(origcolor.x, max(origcolor.y, origcolor.z)) Res=origcolor*(1.0+difffact*SharpeningAmount) Res=origcolor*(1.0+((origcolor-tcol)*SharpeningAmount)) įloat difffact=dot((), 0.333) float4 rshift=tex2Dlod(SamplerColor, coord) Ĭoord.xy=IN.txcoord.xy+tdir.xy*invscreensize*SamplingRange //*1.0 coord.x=IN.txcoord.x+(1.5/ScreenSize) float4 lshift=tex2Dlod(SamplerColor, coord) coord.x=IN.txcoord.x-(1.5/ScreenSize) If defined, color sharpen, otherwise sharp by grayįloat4 PS_Sharpen(VS_OUTPUT_POST IN, float2 vPos : VPOS) : COLOR Enable blurring, useless, never enable DO NOT CHANGE THESE HERE, CHANGE THEM IN effect.txt Sharpen filter originally by Boris Vorontsov () ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |