Question for Skinners
Posts: 756 | Subs: 8
Posts: 103 | Subs: 1
Posts: 756 | Subs: 8
Posts: 53 | Subs: 1
Is it possible to use alpha channels with .tga? Has anyone had any luck trying to make certain parts of vehicles invisible?
I have not tried it. However, the .psd files for all the vehicles have an ALPHA top layer group, just like they have one for DIFFUSE, SPECULAR, NORMAL, and GLOSS. The latter 4 are meant to be exported as a separate .tga file for each layer (*_dif.tga, *_spc.tga, etc). I would expect that a custom alpha would follow the same convention. Rather than an alpha channel in the *_dif.tga file, it's most likely going to be a separate *_alp.tga (or whatever 3-letter abbreviation they use) that must also be burned with specific settings.
If you figure it out, do share!
Posts: 103 | Subs: 1
Posts: 756 | Subs: 8
Tiger, please start a new topic for that question.
Posts: 756 | Subs: 8
Posts: 42
The _alp is just a _dif with desired areas removed with the color black. The default burn settings look for an _alp, so this is the way to do it!
Have you had any success trying this out?
Posts: 756 | Subs: 8
Posts: 42
Yes, but not directly.
Awesome!
Is georider using the technique you described earlier? I've had no luck!
I made an _alp.tga file with the parts I wanted transparent (painted black) and it did not work.
I messed with the alpha channel in the _dif file and it didn't work.
Guess I'll keep trying to figure this out.
Looks great!
Posts: 756 | Subs: 8
The _alp is entirely white, with black on the areas you want to hide. So, you could probably set up the diffuse as the bottom layer, white as the middle layer, and black as the top layer. Hide the middle layer, so that you can draw the black using the top layer. When ready, hide the bottom layer and show both middle and top, then merge down for saving.
Posts: 42
The _dif is just the diffuse, so no alpha channel is required.
The _alp is entirely white, with black on the areas you want to hide. So, you could probably set up the diffuse as the bottom layer, white as the middle layer, and black as the top layer. Hide the middle layer, so that you can draw the black using the top layer. When ready, hide the bottom layer and show both middle and top, then merge down for saving.
Thanks for the reply. Sounds easy enough, but....
I made an _alp.tga with white background and black "test" stripes along the side skirts:
_alp
I also have just a camouflaged _dif.tga with no alterations to the side skirts:
_dif
When I test in game it's as though it doesn't recognize the _alp that I made, because it just shows the _dif camo.
Here's a pic of my file setup along with the burn settings:
setup
Obviously I'm missing a key component in such a simple task. Perhaps I need the _nrm, _gls, and _spc files as well?
Thanks for your help!
Posts: 756 | Subs: 8
Anyways, you will need two different burn settings, both "generic-image to data-rgt", with the following settings:
MixInputs: (,,r)(,,g)(,,b)(_dif,_alp,r)
MixInputDefaults: 255,255,255,255
CompressTextures: true
PreferredFormat: DXT1a
ForceFormat: false
RescaleNonPowerTwo: true
MipMap: true
MipDrop: 0
AlphaEdge: false
BlackBorder: false
FlipImage: true
Include:
*_dif.tga
MixInputs: (_nrm,_spc,r)(,,g)(_nrm,_gls,b)(,,r)
MixInputDefaults: 0,0,0,0
CompressTextures: true
PreferredFormat: DXT5
ForceFormat: false
RescaleNonPowerTwo: true
MipMap: true
MipDrop: 0
AlphaEdge: false
BlackBorder: false
FlipImage: true
Include:
*_nrm.tga
See if that helps. These Burn Settings expect _dif and _alp to be present, and/or _gls, _nrm, and _spc to be present. They are actually the default Burn Settings when using the wizard.
Posts: 42
This is actually an issue I discovered later, but have not had time to correct in my video tutorials. I will try to make a new video this week, as I recently subscribed to the Pro version of Screen-Cast-O-Matic, allowing me to create longer videos.
Anyways, you will need two different burn settings, both "generic-image to data-rgt", with the following settings:
See if that helps. These Burn Settings expect _dif and _alp to be present, and/or _gls, _nrm, and _spc to be present. They are actually the default Burn Settings when using the wizard.
Great! Your Burn Settings worked perfectly. Thank you very much! Definitely saved me a bunch of time trying to get this to work. You are truly the "Master Modmaker".
btw, Just for reference, I'm using only the _dif and _alp files.
Posts: 756 | Subs: 8
I look forward to seeing your mesh schuerzen on the workshop!
Yup! _dif and _alp are a pair, and _gls, _nrm, and _spc are a trio. I just meant it is best to include the ones that are grouped to the Burn Setting.
Posts: 103 | Subs: 1
Livestreams
41 | |||||
5 | |||||
5 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.34957.860+14
- 3.590215.733+5
- 4.1101614.642+2
- 5.305114.728+1
- 6.916405.693-2
- 7.272108.716+23
- 8.721440.621+3
- 9.1041674.607-2
- 10.17146.788+1
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
SneakEye
8 posts in the last week
37 posts in the last month
Welcome our newest member, BrubeckDeclarkBurche
Most online: 2043 users on 29 Oct 2023, 01:04 AM