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:
Requirements:
enbsunsprite with RGB sunglare texture.
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.
video demo:
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
enbsunsprite.fx collection
- Author
- Message
-
Offline
- *blah-blah-blah maniac*
- Posts: 565
- Joined: 05 Apr 2014, 10:29
- Location: Taiwan
enbsunsprite.fx collection
Last edited by kingeric1992 on 23 Jan 2020, 11:59, edited 15 times in total.
-
Offline
- *blah-blah-blah maniac*
- Posts: 565
- Joined: 05 Apr 2014, 10:29
- Location: Taiwan
Re: enbsunsprite.fx [WIP]
This is just a basic set of sunsprite shaders. have fun.
-
Offline
- *blah-blah-blah maniac*
- Posts: 565
- Joined: 05 Apr 2014, 10:29
- Location: Taiwan
Re: enbsunsprite.fx collection
Jan 20, 2015 update:
upload EYE & Camera enbsunsprite.fx
upload EYE & Camera enbsunsprite.fx
-
Offline
- *blah-blah-blah maniac*
- Posts: 983
- Joined: 09 Dec 2012, 00:29
Re: enbsunsprite.fx collection
Thanks a lot. Wonderful work
I made a little video and posted it in the Skyrim gallery thread.
I made a little video and posted it in the Skyrim gallery thread.
_________________
Rudy ENB for Skyrim, Skyrim SE, for Fallout New Vegas, for Dragon's Dogma
English is not my native language.
AMD Ryzen 9 5900X, Gigabyte B550 AORUS PRO AC, Arctic Liquid Freezer II 280, Nvidia Geforce RTX 2070 Super, 64GB ram
Rudy ENB for Skyrim, Skyrim SE, for Fallout New Vegas, for Dragon's Dogma
English is not my native language.
AMD Ryzen 9 5900X, Gigabyte B550 AORUS PRO AC, Arctic Liquid Freezer II 280, Nvidia Geforce RTX 2070 Super, 64GB ram
-
Offline
- *blah-blah-blah maniac*
- Posts: 17557
- Joined: 27 Dec 2011, 08:53
- Location: Rather not to say
Re: enbsunsprite.fx collection
I recommend apply antialiasing via 2,3,4 extra texture reads based on per pixel offset on that rays texture.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
Re: enbsunsprite.fx collection
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.
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.
-
Offline
- *blah-blah-blah maniac*
- Posts: 565
- Joined: 05 Apr 2014, 10:29
- Location: Taiwan
Re: enbsunsprite.fx collection
@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.
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
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.
LG Ceares.
-
Offline
- Posts: 9
- Joined: 29 Jul 2014, 14:33
Re: enbsunsprite.fx collection
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.
As for the antialiasing, I assume Boris thought about some resampling-algorithm when resampling the flares' texture.
-
Offline
- *blah-blah-blah maniac*
- Posts: 565
- Joined: 05 Apr 2014, 10:29
- Location: Taiwan