Transparency in Textures? |
by +DarkStar+
on 01/08/2008 20:12, 5 messages, last message: 01/09/2008 13:55, 1089 views, last view: 05/01/2024 15:52 |
|
This has been a thought for quite a while but I wasn't sure whether it was plausible.
There have been so many times when I've wanted to include a feature in my map that is too technical to simply 'cut' around. For a triangular road sign for example,I could simply set the texture background as white and adjust the cubes so that it appears as it should.
For features like barbed wire, more technical signs and such forth, life would be so much easier if you could make certain aspects of a texture transparent.
I know SB can handle .PNG formats, so we wouldn't have to settle for ugly .gif textures either.
In one sentence; Is it possible?
|
|
Board Index
|
|
#1: ... |
by jbuk2k7s cookie has gone
on 01/08/2008 21:30
|
|
The problem seems to me that having transparent textures would mess up the occlusion and backface culling, and would probably require a hefty bit of code to be rewritten. Feel free to code it yourself though.
Just my two cents.
reply to this message
|
|
#2: just use mapmodels |
by kurtis84
on 01/09/2008 00:55, refers to #1
|
|
I really do not see this being a feature, considering the way sauers geometry works. We can use models for this kind of effect anyway. Use models for things like wires, chains, ropes, windows, fences, etc. Look around in the models directory before you build some, theres already a little of this kind of thing in sauer. By the way, you can make a partially transparent skin in .png format, that will simulate a window, but this is something that you won't find in sauers dirs yet...nobody has used the feature.
reply to this message
|
|
#3: Re: just use mapmodels |
by w121433+04 s
on 01/09/2008 01:04, refers to #2
|
|
so you can use an opaque texture that will allow the player to look through it onto the other side?
reply to this message
|
|
#4: Re: just use mapmodels |
by SheeEttin
on 01/09/2008 05:07, refers to #3
|
|
Yeah, just model a cube without a side, and you can look through it from that side.
It's like if you make a cube in Sauer, and then go inside it. Or give one of the sides the sky texture.
reply to this message
|
|
#5: .. |
by JadeMatrix
on 01/09/2008 13:55
|
|
Check out the chain-link fence mapmodel in mpsp6a.
reply to this message
|
|
|
Board Index
|
|