Welcome Guest [Log In] [Register]
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:

Username:   Password:
Add Reply
Transparent Textures
Topic Started: Nov 10 2010, 02:30 AM (172 Views)
Docmesh
Newbie
[ * ]
Yet another question (I may have a lot of these)

Has anyone played with a plain transparent texture, colored it light gray and made it almost 100% Alpha? maybe like 85%? To look like glass?

Is there a better trick to that? Could you use a semi transparent gradient of a gray/white texture?
Offline Profile Quote Post Goto Top
 
Satyr
Member Avatar
Captain Gobblecoque
[ *  *  *  *  *  * ]
it's mostly to do with the texture editor. it doesn't take that much to make a window texture, a specular shader over top would help it look more like glass i'm sure.
Edited by Satyr, Nov 10 2010, 03:20 AM.
The feeling of homesickness never goes away when you return to your parents home from years of being away.

same goes with the smell of ash and smoke from the day you set it ablaze.
Offline Profile Quote Post Goto Top
 
Despellanion
Member Avatar
Forum God
[ *  *  *  *  *  * ]
Just set the material to transparent by using
Code:
 
SetModelMaterial(material_index,R,G,B,alpha);
where R,G,B and alpha are in the range of 0-255. Then you apply a environment map using
Code:
 
SetMaterialEnvironmentMap(material_index,texture_index);
to create a glas effect with fake reflections.
Offline Profile Quote Post Goto Top
 
Animaster78900
Member Avatar
Forum Reaper(Highest Ranked)
[ *  *  *  *  *  * ]
Despellanion
Nov 10 2010, 10:27 AM
Just set the material to transparent by using
Code:
 
SetModelMaterial(material_index,R,G,B,alpha);
where R,G,B and alpha are in the range of 0-255. Then you apply a environment map using
Code:
 
SetMaterialEnvironmentMap(material_index,texture_index);
to create a glas effect with fake reflections.
Isn't it more complicated than that to make reflections?
Posted Image
Current Projects: Hack Attack, Red Lion, X-Falcon: Redux
Offline Profile Quote Post Goto Top
 
Despellanion
Member Avatar
Forum God
[ *  *  *  *  *  * ]
Animaster78900
Nov 10 2010, 10:53 AM
Despellanion
Nov 10 2010, 10:27 AM
Just set the material to transparent by using
Code:
 
SetModelMaterial(material_index,R,G,B,alpha);
where R,G,B and alpha are in the range of 0-255. Then you apply a environment map using
Code:
 
SetMaterialEnvironmentMap(material_index,texture_index);
to create a glas effect with fake reflections.
Isn't it more complicated than that to make reflections?
Real reflections, yes. Fake reflections, no.
Offline Profile Quote Post Goto Top
 
Docmesh
Newbie
[ * ]
Oh wow, thanks. I never even thought about reflections at all.. I was happy just knowing the glass part..

Someone mentioned a Spec map? How do those work?

Is there a tutorial here about Bump/Spec/Shading? I imagine those all play a role in the final look of something.
Edited by Docmesh, Nov 10 2010, 04:08 PM.
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply