Help with materials

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

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.
Collegia Titanica
Posts: 83
Joined: Thu Jan 25, 2018 1:37 pm

Help with materials

Post by Collegia Titanica »

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
dpJudas
 
 
Posts: 3100
Joined: Sat May 28, 2016 1:01 pm

Re: Help with materials

Post by dpJudas »

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.
Collegia Titanica
Posts: 83
Joined: Thu Jan 25, 2018 1:37 pm

Re: Help with materials

Post by Collegia Titanica »

Thanks G, you were the perfect candidate for answering this question. Will try it now.

Return to “Assets (and other stuff)”