Rick Posted September 5, 2014 Share Posted September 5, 2014 I have a purchased tree model and for some reason the diffuse doesn't have alpha in it, but there is a separate alpha texture for it. Is there a way in LE to use an alpha texture if the diffuse doesn't have an alpha channel in it? Quote Link to comment Share on other sites More sharing options...
tjheldna Posted September 5, 2014 Share Posted September 5, 2014 This may not help you but if you have photoshop you could copy and pase the alpha into a new layer mask Quote Link to comment Share on other sites More sharing options...
Guppy Posted September 5, 2014 Share Posted September 5, 2014 Ditto for gimp Quote System: Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k Link to comment Share on other sites More sharing options...
Rick Posted September 5, 2014 Author Share Posted September 5, 2014 Anyone have paint.net experience in doing this? I don't have photoshop and hated gimp but will get gimp just for this if needed. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted September 5, 2014 Share Posted September 5, 2014 I can have a look. send me a pm. Quote Link to comment Share on other sites More sharing options...
tjheldna Posted September 5, 2014 Share Posted September 5, 2014 If you dropbox them to me I could do it tomorrow if you like? Dont think you can do it in .net Quote Link to comment Share on other sites More sharing options...
Rick Posted September 5, 2014 Author Share Posted September 5, 2014 Just send to Aggror. Missed it by 3 mins. Thanks guys for the help! Quote Link to comment Share on other sites More sharing options...
tjheldna Posted September 5, 2014 Share Posted September 5, 2014 Im typing 1 handed have a baby in the other! 1 Quote Link to comment Share on other sites More sharing options...
shadmar Posted September 5, 2014 Share Posted September 5, 2014 You can also mod shaders for this which just reads the extra alpha texture and pass it to the fragData0.a Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
nick.ace Posted September 5, 2014 Share Posted September 5, 2014 Hey Rick, I use paint.net regularly. I imagine that the diffuse alpha texture is just two colors? So the way I would do this is to create a new layer on top of the diffuse texture with the alpha texture. Then, color the alpha part of the alpha layer some random color (preferably something like purple or pink, unless the diffuse is this color ). Anyway, use the magic wand selecting tool to highlight the non-pink portions of the alpha texture and delete those. Next, merge the two layers. After that, just use the wand tool again to select the pink portions and delete those. If you have varying alpha values, then this won't work, and it might be best to write an RGBA merge script or something. Hope this helps! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.