Investigations on Realtime Reflections in Unity

Show off your mod creations or just a work in progress.
User avatar
Nystul
Posts: 863
Joined: Mon Mar 23, 2015 8:31 am

Re: Investigations on Realtime Reflections in Unity

Postby Nystul » Thu Sep 15, 2016 1:20 pm

this starts to get creepy - some interiors (almost) look better than similar environments in skyrim now
lights+shadows+deferred planar reflections (with light probe reflections), light color adjusted to match the light source color...
@interkarma: btw. lights for torches are "spawned" at floor level. this causes lower levels to get the light reflections from torches in the levels from above (easy fix is to move the lights to their correct position)

Image
User avatar
Xaphir
Posts: 85
Joined: Sat Jul 16, 2016 12:55 pm

Re: Investigations on Realtime Reflections in Unity

Postby Xaphir » Thu Sep 15, 2016 4:19 pm

Nystul wrote:this starts to get creepy - some interiors (almost) look better than similar environments in skyrim now
lights+shadows+deferred planar reflections (with light probe reflections), light color adjusted to match the light source color...


Just wait till the textures are upgraded. That plus the lighting; will be unbelievable.

Nystul wrote:@interkarma: btw. lights for torchs are "spawned" at floor level. this causes lower levels to get the light reflections from torches in the levels from above (easy fix is to move the lights to their correct position)


I was amazed at how fast Interkarma was able to get lighting locations moved to the game scene's light sources.
User avatar
Interkarma
Posts: 1942
Joined: Sun Mar 22, 2015 1:51 am

Re: Investigations on Realtime Reflections in Unity

Postby Interkarma » Thu Sep 15, 2016 9:35 pm

Wow, Nystul. That looks so good.

Thanks for the heads up on light position. My first pass was just to drop lights at origin of sprite, obviously this needs a little tuning. I'll issue a fix for torches soon.
User avatar
Arl
Posts: 169
Joined: Sun Mar 22, 2015 10:57 am

Re: Investigations on Realtime Reflections in Unity

Postby Arl » Fri Sep 16, 2016 2:47 pm

Oh my... this is amazing.

I really like those pixilated textures with lights/shadows/reflections, a good combination of environment realism with classic feel.
My Deviantart page, I have some Daggerfall stuff in there.
User avatar
Nystul
Posts: 863
Joined: Mon Mar 23, 2015 8:31 am

Re: Investigations on Realtime Reflections in Unity

Postby Nystul » Fri Sep 16, 2016 5:41 pm

I think it would be nice to have different light sources with different color and intensity also - torches should be less intensive than lamps, candles less intensive than torches.
from my experiments (when manually changing intensity, light color and placement) it gives another level of realism (the screenshot was manually tuned).
Best way would be to spawn each light with the correct settings. I will see if I manage to do this by script.
User avatar
Interkarma
Posts: 1942
Joined: Sun Mar 22, 2015 1:51 am

Re: Investigations on Realtime Reflections in Unity

Postby Interkarma » Fri Sep 16, 2016 10:09 pm

That's a great idea Nystul, and very doable.

I'm about to issue a fix for the torch light alignment. You could use the same method (check billboard index) to determine if this light was spawned on top of a candle, torch, lantern, etc. and adjust light properties appropriately. All light billboards are in TEXTURE.210 for reference.

Edit: Changes are up now. I also put in a quick fix to shrink light radius of candles to one-third that of other lights. You could use the same general principle to change colours or use a different prefab entirely.
User avatar
Nystul
Posts: 863
Joined: Mon Mar 23, 2015 8:31 am

Re: Investigations on Realtime Reflections in Unity

Postby Nystul » Sat Sep 17, 2016 4:26 pm

thanks! this is perfect. I will tune it in my ReflectionsMod branch. I am finishing the current iteration on it and do a pull request. Should only be a few days till I am ready. Afterwards I will dive into the location automap ;)

edit: ups didn't intend to cause an explosion^^

Image

edit2: light color settings do add a lot of atmosphere to many interiors!
User avatar
Interkarma
Posts: 1942
Joined: Sun Mar 22, 2015 1:51 am

Re: Investigations on Realtime Reflections in Unity

Postby Interkarma » Sat Sep 17, 2016 9:57 pm

Guild memo:
After the unfortunate incident with Gwynara Copperton, juggling arcane orbs is no longer permitted in the guildhall rec room.
User avatar
Nystul
Posts: 863
Joined: Mon Mar 23, 2015 8:31 am

Re: Investigations on Realtime Reflections in Unity

Postby Nystul » Sun Sep 18, 2016 9:55 am

Interkarma wrote:Guild memo:
After the unfortunate incident with Gwynara Copperton, juggling arcane orbs is no longer permitted in the guildhall rec room.


haha :D :D :D
User avatar
Nystul
Posts: 863
Joined: Mon Mar 23, 2015 8:31 am

Re: Investigations on Realtime Reflections in Unity

Postby Nystul » Sun Sep 18, 2016 3:05 pm

I think I am almost ready for the pull-request for the updated ReflectionsMod - any concerns from your side?
The new light properties will look really good - not all lights are tuned for the moment, but I suggest that we tune the missing ones whenever we come across a light that needs tuning. Same goes for reflective floor textures that don't look good. Especially the dungeon floor textures could need another iteration...

Return to “Creator's Corner”

Who is online

Users browsing this forum: quasifex and 1 guest