3rd Party Models/Media Chat / [SOLVED] Emissive texture in HUD files ?

Author
Message
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 8th Jan 2019 17:40
Hi
Does anyone know how or even if emissive textures can be used in weapon huds? I have created a weapon with a emissive texture but it does not work in game, does the weapon shader include emissive maps ?
I have used the _emissive naming convention does it need to be named something else.

thank you to anyone that can help
Welcome to the real world!
Main PC - Windows 10 Pro x64 - Core i7-7700K @4.2GHz - 32GB DDR4 RAM - GeForce GTX 1060-6G 6GB - 1TB NVe SSD
Test PC - Windows 10 Pro x64 - G4400 @3.3GHz - 16GB DDR3 RAM - GeForce GTX 950 2GB - 500GB SSD
Laptop - Helios 300 Predator - i7 7700HQ - 32GB - Nvidia GTX1060 6GB - 525GB M2 - 500 SSD - 17.3" IPS LED Panel - Windows 10 Pro x64
Various Tutorials by me

The author of this post has marked a post as an answer.

Go to answer
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 8th Jan 2019 17:57
This post has been marked by the post author as the answer.
Has to be _i or _illumination to work.
RIP
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

New:
Intel(R) Core(TM) i5-8400 CPU @ 2.81GHz, 12GB RAM, Nvidia gtx660, Windows 10 Home 64bit, Screen resolution 1920 x 1080. System Passmark 3774




GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 8th Jan 2019 18:19
So it's different to normal entities ? I will give that a try thanks
Welcome to the real world!
Main PC - Windows 10 Pro x64 - Core i7-7700K @4.2GHz - 32GB DDR4 RAM - GeForce GTX 1060-6G 6GB - 1TB NVe SSD
Test PC - Windows 10 Pro x64 - G4400 @3.3GHz - 16GB DDR3 RAM - GeForce GTX 950 2GB - 500GB SSD
Laptop - Helios 300 Predator - i7 7700HQ - 32GB - Nvidia GTX1060 6GB - 525GB M2 - 500 SSD - 17.3" IPS LED Panel - Windows 10 Pro x64
Various Tutorials by me
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 8th Jan 2019 19:11
I tried _i _I _illumination and none of them work
Welcome to the real world!
Main PC - Windows 10 Pro x64 - Core i7-7700K @4.2GHz - 32GB DDR4 RAM - GeForce GTX 1060-6G 6GB - 1TB NVe SSD
Test PC - Windows 10 Pro x64 - G4400 @3.3GHz - 16GB DDR3 RAM - GeForce GTX 950 2GB - 500GB SSD
Laptop - Helios 300 Predator - i7 7700HQ - 32GB - Nvidia GTX1060 6GB - 525GB M2 - 500 SSD - 17.3" IPS LED Panel - Windows 10 Pro x64
Various Tutorials by me
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 8th Jan 2019 19:22
here is a quick video, pressing F11 twice then pressing numbers 1 - 6 number 6 being the illumination map before the pick up it works after pickup its just black

Welcome to the real world!
Main PC - Windows 10 Pro x64 - Core i7-7700K @4.2GHz - 32GB DDR4 RAM - GeForce GTX 1060-6G 6GB - 1TB NVe SSD
Test PC - Windows 10 Pro x64 - G4400 @3.3GHz - 16GB DDR3 RAM - GeForce GTX 950 2GB - 500GB SSD
Laptop - Helios 300 Predator - i7 7700HQ - 32GB - Nvidia GTX1060 6GB - 525GB M2 - 500 SSD - 17.3" IPS LED Panel - Windows 10 Pro x64
Various Tutorials by me
OldFlak
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 27th Jan 2015
Location: Tasmania Australia
Posted: 8th Jan 2019 21:06 Edited at: 8th Jan 2019 21:12
Hi all

_i is for DNS
_illumination is for PBR

Currently illumination in PBR has bugs (can't Light-Map because the illumination map will be tiled all over the model, it has been that way since day one for PBR), but I wouldn't have thought it will affect 2D HUD layer at all though.

Reliquia....
aka OldFlak
i7-4790 @ 3.2GHz. 8GB Ram. NVidia GeForce GTX 750. M1: Samsung 31.5" @1920x1080 M2: Acer 24" @ 1920 x 1080. M3: Acer 24" @ 1920 x 1080. OS: Windows 10 Pro 64-bit Insider.
PM
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 8th Jan 2019 21:16
Quote: "_i is for DNS
_illumination is for PBR"


Hi reliquial yeah Preben also gave us _emissive I have only ever used _emissive all my illuminated assets work with this, I also tried _illumination as in the above video but as soon as the weapon is swapped out for the hud emissive does not work
Welcome to the real world!
Main PC - Windows 10 Pro x64 - Core i7-7700K @4.2GHz - 32GB DDR4 RAM - GeForce GTX 1060-6G 6GB - 1TB NVe SSD
Test PC - Windows 10 Pro x64 - G4400 @3.3GHz - 16GB DDR3 RAM - GeForce GTX 950 2GB - 500GB SSD
Laptop - Helios 300 Predator - i7 7700HQ - 32GB - Nvidia GTX1060 6GB - 525GB M2 - 500 SSD - 17.3" IPS LED Panel - Windows 10 Pro x64
Various Tutorials by me
OldFlak
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 27th Jan 2015
Location: Tasmania Australia
Posted: 9th Jan 2019 10:52
Quote: "Preben also gave us _emissive"

Ah,OK - are you referring to the texture names or the FPE FX reference.

Reliquia....
aka OldFlak
i7-4790 @ 3.2GHz. 8GB Ram. NVidia GeForce GTX 750. M1: Samsung 31.5" @1920x1080 M2: Acer 24" @ 1920 x 1080. M3: Acer 24" @ 1920 x 1080. OS: Windows 10 Pro 64-bit Insider.
PM
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 9th Jan 2019 11:55 Edited at: 9th Jan 2019 12:01
Quote: "Ah,OK - are you referring to the texture names or the FPE FX reference."


Texture names,

as can be seen in this video as long as I don't pick them up emissive works the texture name is gsblue_emissive.dds
the HUD texture name is gun_emissive.dds, I just wondered if there was something I was doing wrong ? I have looked at weapon_basic.fx
it as the reference #define ILLUMINATIONMAP also so does weapon_bone.fx and they both include "apbr_core.fx" call.

A light Sabre is not very good if it has no light

it is something either I am missing or GG is missing lol

Welcome to the real world!
Main PC - Windows 10 Pro x64 - Core i7-7700K @4.2GHz - 32GB DDR4 RAM - GeForce GTX 1060-6G 6GB - 1TB NVe SSD
Test PC - Windows 10 Pro x64 - G4400 @3.3GHz - 16GB DDR3 RAM - GeForce GTX 950 2GB - 500GB SSD
Laptop - Helios 300 Predator - i7 7700HQ - 32GB - Nvidia GTX1060 6GB - 525GB M2 - 500 SSD - 17.3" IPS LED Panel - Windows 10 Pro x64
Various Tutorials by me
Bolt Action Gaming
GameGuru Tool Maker
10
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 9th Jan 2019 19:19
Is there a difference between Emissive and Illumination mapping?
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 9th Jan 2019 19:22 Edited at: 9th Jan 2019 19:23
Quote: "Is there a difference between Emissive and Illumination mapping?"


apparently yes there is, thanks to Pirate Myke the issue is resolved, it looks as though all the apbr_ fx files have been updated to use _emissive but the weapon fx files need to have _illumination and need to be 32 bit (RGBA) dds files with no black colour in
Welcome to the real world!
Main PC - Windows 10 Pro x64 - Core i7-7700K @4.2GHz - 32GB DDR4 RAM - GeForce GTX 1060-6G 6GB - 1TB NVe SSD
Test PC - Windows 10 Pro x64 - G4400 @3.3GHz - 16GB DDR3 RAM - GeForce GTX 950 2GB - 500GB SSD
Laptop - Helios 300 Predator - i7 7700HQ - 32GB - Nvidia GTX1060 6GB - 525GB M2 - 500 SSD - 17.3" IPS LED Panel - Windows 10 Pro x64
Various Tutorials by me
OldFlak
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 27th Jan 2015
Location: Tasmania Australia
Posted: 9th Jan 2019 20:53 Edited at: 9th Jan 2019 21:34
Interesting

As far as I knew the correct filenames for textures was already set as _color, _ao, _gloss, _metalness, _illumination, _normal

Apart from this thread every other post I have read tells us to use an _illumination texture.

I think we need some official documentation on PBR textures in GameGuru\Docs.

By the way Graphics, does the model lightmap correctly with the method you have used here.

EDIT - Still confused as to what you mean about 'HUD' in your post question

Reliquia....
aka OldFlak
i7-4790 @ 3.2GHz. 8GB Ram. NVidia GeForce GTX 750. M1: Samsung 31.5" @1920x1080 M2: Acer 24" @ 1920 x 1080. M3: Acer 24" @ 1920 x 1080. OS: Windows 10 Pro 64-bit Insider.
PM
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 9th Jan 2019 22:07
Quote: "As far as I knew the correct filenames for textures was already set as _color, _ao, _gloss, _metalness, _illumination, _normal

Apart from this thread every other post I have read tells us to use an _illumination texture.

I think we need some official documentation on PBR textures in GameGuru\Docs.

By the way Graphics, does the model lightmap correctly with the method you have used here.

EDIT - Still confused as to what you mean about 'HUD' in your post question "


Preben added a wildcard as it were for emissive textures he sorted the self illumination for me when we first started with PBR you can use
_I _illumination _emissive I use _emissive because my texture app exports to that name and never had any problems.
we wont get official documentation because the shaders are not finished yet they keep changing
I have not tried lightmapping because as far as I am concerned it does not work correctly

HUD as in gamecore weapon HUD.x the part where you have hands and such for your weapons its a separate model to the actual pickup model in my case.

I have it working now, you can test the lightmapping for yourself once I have finished testing the assets

Welcome to the real world!
Main PC - Windows 10 Pro x64 - Core i7-7700K @4.2GHz - 32GB DDR4 RAM - GeForce GTX 1060-6G 6GB - 1TB NVe SSD
Test PC - Windows 10 Pro x64 - G4400 @3.3GHz - 16GB DDR3 RAM - GeForce GTX 950 2GB - 500GB SSD
Laptop - Helios 300 Predator - i7 7700HQ - 32GB - Nvidia GTX1060 6GB - 525GB M2 - 500 SSD - 17.3" IPS LED Panel - Windows 10 Pro x64
Various Tutorials by me
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 10th Jan 2019 08:31
Yup, as GraPhix said, both work in most instances, _illumination is the official texture name, however before Lee added it Preben added _emissive as a temporary option on request to help out GraPhix and some others, and it's still in there even though Lee added _illumination. Whether it will stay in there i don't know.

The only issue i have seen with _illumination myself is that to get it to work Lee gave it the same shader reference as _detail, so you can either have _detail or _ilumination, not both, i don't know if it is the same for _emissive,

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.

Login to post a reply

Server time is: 2024-03-29 08:05:50
Your offset time is: 2024-03-29 08:05:50