I've done it all, for hours I've been trying and it doesn't seem to work.
https://www.youtube.com/watch?v=oOfw6HNcmj8
This new feature is something that just doesn't work for me.
the texture in "hires"
the texture in "texture"
the autopath mat/___/filename
filename.png
normalmap "normal/FLOORVnormal.png not found in texture ' FLOORV'
normalmap "normal/FLOORVnormal not found in texture ' FLOORV'
I don't see any visual difference no matter what I do, nothing even remotely close to the video above.
Will someone who has SUCCEEDED in applying materials and light and all that send a demo so I can finally figure this out ???
http://www.mediafire.com/file/itai3nd0g ... katest.pk3
Help with materials
Moderators: GZDoom Developers, Raze Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
-
-
- Posts: 3100
- Joined: Sat May 28, 2016 1:01 pm
Re: Help with materials
There are two errors in your pk3:
1) Roughness is commented out. The PBR shader will only become active if ALL the required maps are specified.
2) The normal texture is a 16-bit per-component PNG file. GZDoom cannot currently load those. If you open it in mspaint and save it again the texture will work (this converts it to 8 bit).
The error reporting with this material stuff could be a lot better I'll admit.
Edit: one word on metals and PBR: the GZDoom implementation currently only reflects dynamic lights. As a result, you need need to fire some rockets or plasma bullets in your test to see that its a metal.
1) Roughness is commented out. The PBR shader will only become active if ALL the required maps are specified.
2) The normal texture is a 16-bit per-component PNG file. GZDoom cannot currently load those. If you open it in mspaint and save it again the texture will work (this converts it to 8 bit).
The error reporting with this material stuff could be a lot better I'll admit.
Edit: one word on metals and PBR: the GZDoom implementation currently only reflects dynamic lights. As a result, you need need to fire some rockets or plasma bullets in your test to see that its a metal.
-
- Posts: 83
- Joined: Thu Jan 25, 2018 1:37 pm
Re: Help with materials
Thanks G, you were the perfect candidate for answering this question. Will try it now.