bs_twinbits
Member
|
|
12-31-2014 05:45 PM |
|
Zervox
Member
|
RE: Transparent car windows
Did you try increasing the alpha slider below RED,GREEN,BLUE?
as I can see it is at 0, 1 means no alpha 0 fully transparent.
|
|
01-01-2015 10:49 AM |
|
bs_twinbits
Member
|
RE: Transparent car windows
Yes I tried it, but it's so sensible, that you have only nothing to see, or it's completly transparent. I will have another try. What kind of texture file format is better, to have a transparent channel? I tried both TGA and PNG.
Happy New Year to All!
|
|
01-01-2015 04:43 PM |
|
georgatos7
Member
|
RE: Transparent car windows
Hey,
The problem is that you probably need to place an image on the Color slot of your transparent material. Also don't use Alpha blend, use the Blend Light (for shadowed glass) or Blend (for unlit). Finally if you still have a problem check your glass UVs that they match your alpha texture.
And you can use whatever image format you want for the alpha values. I usually use jpg or png. Also jpg is fine as alpha if you use it as a different texture but if you want to use the alpha channel of the diffuse texture for the alpha values then use png.
Now the "Alpha Test" technique produces sharp results and wont let you use the slider to smooth fade but rather as a sharp threshold.
"Blend Light" for Lit and "Blend" for Unlit allows you to use the slider to fade.
The amount of fade you get for each pixel with the Blends seems sliderValue*alphaTextureValue.
With Alpha test it is 0 if alphaTextureValue<sliderValue and 1 if alphaTextureValue>sliderValue or something like that.
(This post was last modified: 01-01-2015 09:05 PM by georgatos7.)
|
|
01-01-2015 06:17 PM |
|
bs_twinbits
Member
|
RE: Transparent car windows
Works fine now, many thanks for the instruction Georgatos7 !
|
|
01-03-2015 11:10 AM |
|