Imchasinyou Posted September 27, 2014 Posted September 27, 2014 Is there any way to obtain an alpha shader for characters? I only have the option of diffuse, normal and specular. I have a character that I cant seem to remove some white around her hair even after several attempts. I have set to DTX5 but there is no alpha to make it invisible. Quote Asus sabertooth 990FX, AMD FX 9590 , Windows 7 Home Premium 64 Bit, 4 HDD's Western Digital Caviar Black set in Raid 0, 16 GB Crucial Ballistix Elite, Asus Radeon R9 270 X 4GB, Corsair CM750M,
macklebee Posted September 27, 2014 Posted September 27, 2014 should be as simple as discarding the pixel if the alpha falls below a certain level... so after the line here: //Modulate blend with diffuse map outcolor *= texture(texture0,ex_texcoords0); add this line: if (outcolor.a<0.5) discard; granted this may require you to edit the original diffuse texture to lower the alpha in the areas you wish to discard 1 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel
Imchasinyou Posted September 28, 2014 Author Posted September 28, 2014 Thank you for the reply. Ill see what I can make of this and hopefully, I will be successful. Quote Asus sabertooth 990FX, AMD FX 9590 , Windows 7 Home Premium 64 Bit, 4 HDD's Western Digital Caviar Black set in Raid 0, 16 GB Crucial Ballistix Elite, Asus Radeon R9 270 X 4GB, Corsair CM750M,
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.