Page 1 of 5

enbsunsprite.fx collection

Posted: 15 Nov 2014, 16:40
by kingeric1992
This post contains two variations of sunsprite.fx I've been working on.
One is dedicate to mimic some dynamics with eyes, the second one is camera/lens based.

EYE:
The idea is to fake this ref vid provided by Veeblix on Nexus.

features
*No lens flares, only a single sun glare
*Use Moire effect to create some cool illusion
*blinking effect
*vibrant spikes

video demo:
Image
Requirements:
enbsunsprite with RGB sunglare texture.
enbsunsprite.fx
update: Feb 1, 2015
(14.05 KiB) Downloaded 2225 times
And here is the nexus link to Veeblix's sunsprite texture
http://www.nexusmods.com/skyrim/mods/61405/?

CeaRes also create a resource for this shader
http://www.nexusmods.com/skyrim/mods/61771/?

camera
Most of the concept is based on SIGGRAPH 2011 paper "Physically-Based Real-Time Lens Flare Rendering" by Matthias B. Hullin, Elmar Eisemann, Hans-Peter Seidel, and Sungkil Lee

Well, except the fft part and "ray tracing in the vertex shader", but I did my best to fake them.
Anyway, It can still produce all kinds of distorted flares seen in cameras.

features
*aperture generation with diffraction
*sunglare with diffraction
*flare with lens distortion
*layered chromatic aberration

Requirements:
enbsunsprite with R sunglare texture. Alpha channel (or png transparency) as lens dirt texture.
enbsunsprite.rar
update: Jan 20, 2015
(226.99 KiB) Downloaded 1750 times
enbsunsprite(SSE).zip
bugfixed: Jan 23, 2020
(255.01 KiB) Downloaded 1575 times
video demo:
Image
Image

update log:
============================
Aprl 13, 2019: upload Camera enbsunsprite.fx (SSE)
Jan 20, 2015: upload EYE & Camera enbsunsprite.fx
Feb 1, 2015: add spikes to ver.EYE, add demo vid

Re: enbsunsprite.fx [WIP]

Posted: 19 Nov 2014, 00:14
by kingeric1992
This is just a basic set of sunsprite shaders. have fun.

Re: enbsunsprite.fx collection

Posted: 20 Jan 2015, 07:16
by kingeric1992
Jan 20, 2015 update:
upload EYE & Camera enbsunsprite.fx

Re: enbsunsprite.fx collection

Posted: 20 Jan 2015, 22:21
by Guzio
Thanks a lot. Wonderful work :)
I made a little video and posted it in the Skyrim gallery thread.

Re: enbsunsprite.fx collection

Posted: 21 Jan 2015, 08:53
by ENBSeries
I recommend apply antialiasing via 2,3,4 extra texture reads based on per pixel offset on that rays texture.

Re: enbsunsprite.fx collection

Posted: 21 Jan 2015, 17:18
by CeaRes
Great job, same as i was saying at the nexus, i was seeing your improvements, and the droplet-effects in the other weather-effects thread, and all of this work is worth to get used together, now my questions are a) could those effects be used together, and b) how about to combine them all in a meaning which makes sense? - like:

eye + weatherfx-droplet (modified) for firstperson sight, and
the camera/lens based effect + droplet / weatherfx modified for glas for thirdperson sight?

from the context it makes sense to build a mod like that, but i'm not a coder/scripter at all, and there are a lot real great professional modders around on this globe - maybe we could find some which are brave enough to follow this idea? its just an idea, and its never a fault to ask - so see my words as an inspiration, and again your work is a giant leap forward to a more immersive / natural gameplay.

LG Ceares.

Re: enbsunsprite.fx collection

Posted: 21 Jan 2015, 18:52
by kingeric1992
@boris
You mean like blur it a little bit? why not just blur the texture in photoshop :?:

@CeaRes
There is no conflicts between sun glare(enbsunsprite.fx) and weather effect(enblens.fx), so you can just use the files and it's good to go.

Well, what you suggest is mostly UI stuff which currently I'm not really into it.
Also there isn't a 3rd person flag for .fx, so you still need to switch modes manually, which isn't ideal for smooth gameplay.

Still, I appreciate the input.

Re: enbsunsprite.fx collection

Posted: 22 Jan 2015, 22:24
by CeaRes
for the method how to switch ingame between 3rd and 1st person view i have a good example which i'm using ingame -> Jaxonz Archery Focus maybe a first chance to step in
LG Ceares.

Re: enbsunsprite.fx collection

Posted: 24 Jan 2015, 11:20
by Euda
Looks very neat. Those "needle"-scattering-fx' use to be implemented in a lot of games for a few years now and in most cases it still looks unnatural. Here it is well-made, will test it today.
As for the antialiasing, I assume Boris thought about some resampling-algorithm when resampling the flares' texture.

Re: enbsunsprite.fx collection

Posted: 01 Feb 2015, 01:36
by kingeric1992
Feb 1, 2015 update:
add spikes to ver.EYE, add demo vid
https://www.youtube.com/watch?v=KxFX5i87VZw