How to load normal and specular textures onto an obj?

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.

How to load normal and specular textures onto an obj?

Postby Dev_NIX » Tue Apr 21, 2020 2:28 pm

Hi! I'm getting again into Doom modding (it's been a while) and I'm going to make a couple of custom maps for me and my friends.

I've been investigating about the inclusion of 3D models. After a couple of tries, I've created an Actor in the map from a .obj and a .jpg texture!

I've seen that there's support for PBR textures, but I've not found the way of adding them to my .obj model. I'm unsure if I'm missing some post or documentation, but besides all my searches, I'm not having luck...
Dev_NIX
 
Joined: 21 Apr 2020
Github ID: devnix
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: Yes (Using Development/Testing Version)
Graphics Processor: Intel (Modern GZDoom)

Re: How to load normal and specular textures onto an obj?

Postby Logan MTM » Fri Jul 10, 2020 1:50 pm

As the same way you do for textures but giving the full path of your skin/png

Material Texture "models/myskin.png
{
ยทยทยท
}
User avatar
Logan MTM
I can see you...
 
Joined: 16 Jan 2006
Location: Rio de Janeiro - Brazil


Return to Assets (and other stuff)

Who is online

Users browsing this forum: No registered users and 1 guest