Skyrim

File information

Last updated

Original upload

Created by

Veeblix and Kingeric1992

Uploaded by

Veeblix

Virus scan

Safe to use

About this mod

Frazetta ENB - Human Temporal Glare Sunsprites and HTG Solar Moiré Shader are inspired by a paper and video by Tobias Ritschel and co-authors. It is an attempt to simulate sun glare as perceived by the human (or elven!) eye, rather than through a camera lens.

Requirements
Permissions and credits
Frazetta ENB - Human Temporal Glare Sunsprites
Frazetta ENB - HTG Solar Moiré Shader

Assets: Veeblix
Code: Kingeric1992



01/05/2015 - Initial version 1.0.
01/08/2015 - v1.1. Removed ciliary component from flare, leaving only lenticular halo. Boosted luminosity and saturation somewhat. Includes v1.0 sunsprite, v1.1 vivid sunsprite, and v1.1 "Goldilocks" sunsprite.
01/13/2015 - v1.2 Kingeric1992 created an amazing solar moire shader for use with the HTG sprites, and the sprites have been reworked in tandem with his development. v1.2 assets now include 12 HTG sun sprites and 3 utility sprites designed to work well with the shader. The alpha channel is now unused, and all components reside in RGB.
02/15/2015 - v1.3 Kingeric1992 added a lambent "spike" effect and associated controls. Veeblix contributed 5 new 128-spoke moire sunsprites and an expanded v1.3 Photoshop template for making your own sprites or adjustments.

Requirements

ENBSeries by Boris Vorontsov (http://enbdev.com).

Description

15 1024px square Targa sun sprites (enbsunsprite.tga) and an HLSL shader file (enbsunsprite.fx).

Frazetta ENB - Human Temporal Glare Sunsprites and HTG Solar Moiré Shader are inspired by a paper and video by Tobias Ritschel and co-authors. It is an attempt to simulate sun glare as perceived by the human (or elven!) eye, rather than through a camera lens. Ritschel's work is found in his paper (https://people.mpi-inf.mpg.de/~ritschel/Papers/TemporalGlare.pdf) and a demonstration video (https://www.youtube.com/watch?v=5ewKMOodT1Y).

Let's say you didn't read the paper mentioned above or watch the demonstration video. What is this all about? Glare in video games is often simulated with effects that suggest you are experiencing it as a film, with a multiplicity of lens flares or other filmic effects.

It is oddly anachronistic to play a game in the first person, yet also have an unconnected medium (film) interposed between the player and the game, especially in a world such as Tamriel where cameras are not a conceivable part of the lore. Movie-like effects in games can look great and be fun, but this is a chance to try to make a different kind of mod for the game that gives ENB authors more variety to play with.

The way we see things on film or television is different from the way we see things in person. The simulation of light scattering in one's own eyes instead of a camera lens can impart immediacy to a first person experience. Particularly important is the "temporal" side of things--that comes from the dynamism of the human eye, which is in constant motion. In their psychophysical studies, Ritschel and his co-authors found that their simulation of temporal glare improved perceptions of brightness and that their dynamic renderings were generally seen as more attractive than static implementations.

Ritschel had fewer constraints to deal with when developing a CGI simulation of temporal glare than we encounter with Skyrim. We can't precisely model temporal glare using a static, 2D sprite, but we can suggest it with a bit of illusion and code. This technique relies on a "moiré pattern" (http://en.wikipedia.org/wiki/Moir%C3%A9_pattern) to generate unexpected dynamism. The shader creates four instances of the sun sprite and rotates them around a common center, overlapping them additively so that they interfere with one another.

The shader has several features that help simulate temporal glare:

  • Glare intensity, scale, and tint control
  • Moiré vibrational frequency, scale, offset (from the common center), and a rotation modifier
  • An eye-blinking effect with a variety of controls

The sun sprites are pictured on the "images" page. There are twelve sun sprites that interact with the shader in various ways, and three "utility" sprites. The utility sprites are helpful for for understanding or gaining precision from the shader controls (Solar Moiré Protractor), or understanding the moiré effect (the two test patterns).

The sun sprites have features like lenticular halos (the refracting rings) and ciliary coronae (the radiating spikes) found in real human glare, and some attempt at the noise of vitreous particles and the organic, textured radiance of human glare. A Photoshop template for making your own sun sprites is also provided (the sprites are ultimately saved as 32-bit Targa files), and the shader will certainly add something interesting to any sun sprite you might try.

Install

First ensure that your ENB config supports sun sprites--it probably does. Back up the enbsunsprite.tga and enbsunsprite.fx that you find in your enbseries folder in the Skyrim directory. Then replace it with one of the provided sunsprites and the enbsunsprite.fx file.

Uninstall

Remove the newer enbsunsprite.fx and enbsunsprite.tga and put back or rename your original files.

Credits

Thanks to Kingeric1992 for the wonderful shader. You can find more interesting work by him on the enbdev.com forums (perhaps here, too!)--from sun shaders to realistic depth-of-field and bokeh.
Thanks to Boris Vorontsov, creator of ENB at enbdev.com.
JawZ created a great camera lens sun sprite for Kyo's shader from Tansarville's Somber Antique 2.8 that showed me the format I needed to use.
Tobias Ritschel and his co-authors have some interesting work that inspired these sun sprites, though these methods and their effects differ.

Licensing/Legal

You are welcome to alter or use the image assets provided any way you like, but this project also includes an HLSL shader file that was contributed by another author. If you wish to use or repurpose that, you can contact Kingeric1992 either here on Nexus or at enbdev.com with the same monicker. The content of this description page supersedes that of the readme.txt uploaded to Nexus and contained in the file archive:
http://www.nexusmods.com/skyrim/mods/61405/?