| We hope you enjoy your visit. You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you are already a member please log in to your account to access all of our features: |
| Alpha Maps on textures | |
|---|---|
| Tweet Topic Started: Oct 11 2008, 01:41 PM (229 Views) | |
| Gompen | Oct 11 2008, 01:41 PM Post #1 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
can u3d use alpha maps for the textures (in this case the ones that are drawn on the hud)? |
| Isis Developer | |
![]() |
|
| luenardi | Oct 11 2008, 01:43 PM Post #2 |
|
Cofee Machines Rock
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Yes. Png files Edited by luenardi, Oct 11 2008, 01:44 PM.
|
![]() For your perception no. But my universe has no such limits. www.recall.co.nr | |
![]() |
|
| Gompen | Oct 11 2008, 02:59 PM Post #3 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
hmm i might i formulated it wrong. I want to create a compas, but wil only text that scrolls across the screen, i have a texture that the text, Nw, N, Ne, you get it.. anyway i want it to scroll over the screen already gotten this to work, but i want to make the edges of the texture, slowly fade out.. instead of just being cut of. that's why i wanted to know if i can add a alpha map to a texture i'm drawing on the hud |
| Isis Developer | |
![]() |
|
| luenardi | Oct 11 2008, 04:36 PM Post #4 |
|
Cofee Machines Rock
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You can still change the alpha setting |
![]() For your perception no. But my universe has no such limits. www.recall.co.nr | |
![]() |
|
| Eansis | Oct 11 2008, 04:43 PM Post #5 |
|
ghost
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Hmm, this is a bit tricky. I recommend trying it using text instead of textures. Edited by Eansis, Oct 11 2008, 04:43 PM.
|
VOTE FOR BUDDY ROEMER HE'S A STRAIGHTFORWARD, DOWN TO EARTH AMERICAN GUY WHO ISN'T PART OF THE BIGBROTHER CONSPIRACY
| |
![]() |
|
| skarik | Oct 11 2008, 08:02 PM Post #6 |
|
kitten eating scum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I think we all know my solution. What you can do is get your compass file and create a gradient that goes in and out, like the following: ![]() Then, you use a shader that puts your text onto a render target with the text alpha multiplied by the rgb of the above image. Finally, you draw the RT onto the screen. A way that's less work but less cool is draw each character separate with DrawText. That way, you can blend them in and out. |
| Blog|EHS | |
![]() |
|
| ashrat3000 | Oct 11 2008, 09:23 PM Post #7 |
|
u3d raytracer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Yeah, a shader would be easiest here. |
|
그대를 사랑해 | |
![]() |
|
| Gompen | Oct 12 2008, 01:51 PM Post #8 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
I have actually no experience with shaders, does anyone know where i can find a tutorial or something to make me a little more ut to date on that part? |
| Isis Developer | |
![]() |
|
| Glasser | Oct 12 2008, 03:26 PM Post #9 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
I think there is no need to use shaders, png files will be enough. |
![]() |
|
| Reikyrr | Oct 12 2008, 03:52 PM Post #10 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
shaders wil blow support for older videocards. Just use a png! |
|
~Inspirational quote~ | |
![]() |
|
| skarik | Oct 12 2008, 06:43 PM Post #11 |
|
kitten eating scum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I'm just saying, that's hard since A. You have to do all the frames B. It's a non-static image C. I'll get back to you on that one.
Oh, and, not really. Just use the text that fades out at the sides. |
| Blog|EHS | |
![]() |
|
| ashrat3000 | Oct 12 2008, 07:20 PM Post #12 |
|
u3d raytracer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Wouldn't you have to make a font for each different alpha value? I think a shader would actually be more effective. Plus, more fun, because once you have the shader set up you can use it on other things. |
|
그대를 사랑해 | |
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |





![]](http://z1.ifrm.com/static/1/pip_r.png)




10370984.jpg (32.44 KB)
2:47 AM Jul 11