Idea: PBR Maps for vanilla textures.

Talk about the mods or features you'd like to see in Daggerfall Unity. Give mod creators some ideas!
Post Reply
User avatar
Arl
Posts: 199
Joined: Sun Mar 22, 2015 10:57 am

Idea: PBR Maps for vanilla textures.

Post by Arl » Sat May 05, 2018 3:39 pm

Hi there, recently the source port for Doom called GZDoom added support for pbr materials, and with a very handy feature that allows you to place the ao/metallic/roughness/normal map in a specific folder structure to make materials automatically.

I used this to start a project for Doom that adds the required maps for pbr to all the vanilla lowres textures in Doom: https://www.doomworld.com/forum/topic/1 ... -textures/

The problem with Doom is that there's no actual PBR enviroment to make the most of those materials, only some sporadic dynamic lights can show how textures with those maps looks like in game. Daggerfall Unity, by the other hand, have an omni light in exteriors and some nice light sources in interiors, I think pbr maps in vanilla textures would look very good and would preserve more faithfully the vanilla look while improving the visuals.


Do you think somehing like this is worth pursuing in DFU? I trust TheLacus to come and say this is already possible to do, so I can put myself to work on it.
My Deviantart page, I have some Daggerfall stuff in there.

User avatar
Nystul
Posts: 1128
Joined: Mon Mar 23, 2015 8:31 am

Re: Idea: PBR Maps for vanilla textures.

Post by Nystul » Sat May 05, 2018 3:45 pm

realtime reflections mod uses metallic/roughness maps for vanilla textures already...

User avatar
Arl
Posts: 199
Joined: Sun Mar 22, 2015 10:57 am

Re: Idea: PBR Maps for vanilla textures.

Post by Arl » Sat May 05, 2018 3:53 pm

Nystul wrote:
Sat May 05, 2018 3:45 pm
realtime reflections mod uses metallic/roughness maps for vanilla textures already...

Yes I remember.

How was your implementation for it? "realtime reflections" sounds very taxing for the scope of what I'm talking about, but maybe you used screen space reflections, I don't know.
My Deviantart page, I have some Daggerfall stuff in there.

User avatar
TheLacus
Posts: 642
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: Idea: PBR Maps for vanilla textures.

Post by TheLacus » Sat May 05, 2018 4:00 pm

You can add textures to default material with the StreamingAssets/Textures folder as explained here. I still haven't updated docs to add that you can also import an entire material from a .dfmod but i mentioned it here in the forum. Not all shader properties are supported because they must be enabled in game at compile time. Right now we can use normal, emission and metallicgloss. Tell me if you need more informations :)
If you are interested in creating mods for Daggerfall Unity you can find the documentation here.

User avatar
Nystul
Posts: 1128
Joined: Mon Mar 23, 2015 8:31 am

Re: Idea: PBR Maps for vanilla textures.

Post by Nystul » Sat May 05, 2018 6:52 pm

Arl wrote:
Sat May 05, 2018 3:53 pm
Nystul wrote:
Sat May 05, 2018 3:45 pm
realtime reflections mod uses metallic/roughness maps for vanilla textures already...

Yes I remember.

How was your implementation for it? "realtime reflections" sounds very taxing for the scope of what I'm talking about, but maybe you used screen space reflections, I don't know.
planar reflection planes and a custom shader injected in the deferred render path with command buffers. Screen space reflections have their pros and cons but the main reason for not using them was at the time back then that all dfunity textures were by default full metallic and glossy leading to all surfaces reflecting everything.

User avatar
King of Worms
Posts: 688
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow
Contact:

Re: Idea: PBR Maps for vanilla textures.

Post by King of Worms » Sun May 06, 2018 2:57 pm

Man those doom textures are 11/10 its beautiful, great work! These low res textures really look so stylish with the rendering. Would be great to have the same in daggerfall for sure

Post Reply