32-bit and transparent glass
Moderator: Graphics Moderators
32-bit and transparent glass
Couldn't find any talk about this. I'm wondering, with the game supporting 32-bit color, is it not possible to make glass truly transparent in windows of buildings and vehicles? Would alpha transparency introduce some problems there? Also, for fountains and waterways. Another related question is iridescence. Can the same windows (or bubbles) be made to show some semblance of it?
OpenTTD zombie: "Tra-a-a-ains!"
Re: 32-bit and transparent glass
You just need to make sure there's something behind the transparency. So windows of vehicles and buildings will be fine, but you can't have transparent ground tiles for instance.
As for iridescence (I had to look that up ), you can only achieve that by animation. Not all game objects can be made animated though.
As for iridescence (I had to look that up ), you can only achieve that by animation. Not all game objects can be made animated though.
Re: 32-bit and transparent glass
You can use the alpha layer, however remember that because the viewpoint is from the sky, in most cases you'll be seeing the floor and furniture inside the vehicle/building, and not through it. That will be part of the same sprite. There are some exceptions, the only one I can think of at the moment is the large station canopy where vehicles are visible through it.Vector wrote:Couldn't find any talk about this. I'm wondering, with the game supporting 32-bit color, is it not possible to make glass truly transparent in windows of buildings and vehicles? Would alpha transparency introduce some problems there? Also, for fountains and waterways. Another related question is iridescence. Can the same windows (or bubbles) be made to show some semblance of it?
He's like, some kind of OpenTTD developer.
-
- Tycoon
- Posts: 1828
- Joined: 10 Jul 2006 00:43
- Location: Spain
Re: 32-bit and transparent glass
The station sprites are semitransparent. But... It's very light, around 10%.
Sorry if my english is too poor, I want learn it, but it isn't too easy.
- [list][*]Why use PNG screenshots in 8 bpp games.
[*]Caravan site New Industry. · Spain set. · Some spanish trains for locomotion[*]Favourites:GRVTS · ECS · FIRS
Who is online
Users browsing this forum: GarryG, JustMoreMemes and 69 guests