SKYRIM
  • written by phinix   30 January 2014 21:41:05   1539 views   4 likes

    Multiple Lens Sun Sprite Shader

    With PNENB v1.99 I've put together my own humble sun sprite shader using example #3 Boris provides with the default ENB template enbsunsprite.fx file. I also made some minor code alterations to allow for the individual lens controls.

    I came up with the pattern for the effect by comparing various NASA space images and other lens flare examples. The goal was an effect that would appear geometrically natural and non-intrusive.

    Example image.

    Right now you can uniformly adjust the intensity (visibility), scale (size), and blending (also effects visibility) for the entire effect all together, as well as the offset (distance from the sun), scale (size), and intensity (visibility) of each individual lens pass, all from the shader window in the in-game ENB editor (press shift+enter to open the editor).

    In the in-game ENB editor shader window, click the [ENBSUNSPRITE.FX] section to edit the above mentioned shader settings.

    To edit the intensity (visibility), scale (size), and blending (also effects visibility) for the entire effect all at once, adjust the following values:

    Sun Sprite Intensity=
    Sun Sprite Scale=
    Sun Sprite Blend=


    Additionally, each lens flare element has its own controls, numbered 0-23 starting with the element closest to the sun. This allows you to adjust the offset (distance from the sun), scale (size), and intensity (visibility) for each individual lens pass separately. For example, here are the settings for the first element (the one closest to the sun):

    L0Offset=
    L0Scale=
    L0Intensity=


    Feel free to make adjustments as you see fit. You are also free to use this shader in your own configuration, so long as you leave the header in the enbsunsprite.fx as it is, and link back to Phinix Natural ENB in your credits section: http://www.nexusmods.com/skyrim/mods/24235

    -Phinix

Comments (0)