Alpha questions for Blitz3D
Blitz3D Forums/Blitz3D Beginners Area/Alpha questions for Blitz3D
| ||
Ahoy! I've been away from Blitz3D for a few months -- and was only a beginner back then anyway. I've started working on a small 3D project, but I've hit a small stumbling block that I'm sure can be cleared up pretty quickly. Here's the situation: I have a grid of cubes. I've written a program such that when I click on a cube, it's selected and changes texture. What I'd really like to happen is get an alpha-shaded color over the cube. In other words, I'd like the cube to get a blue or red tint to it when it's selected, without having to make separate textures with the coloring I want. I figured that I could try to create another box over the cube and alpha-blend it, but I though it would be good to ask the experts first. Thanks in advance! Cheers! -- DJ3J |
| ||
Did you try EntityColor? ENtityColor cube,255,0,0 makes it red entitycolor cube,255,255,255 is default, normally textured. |
| ||
Doh! Thanks. Works like a charm ;) -- DJ3J |