Jump to content

Transparent Glass


Guest Mauler

Recommended Posts

Guest Mauler

Making glass like the Nod Air Tower is simple...

 

if you've already got renegade building textures, you won't need anything...

 

here is what i got using the Nod airtower glass on your model

 

glass_001.jpg

 

select the glass dome and texture it with a w3d material, first tab to set up is the Vertex material tab..

  • change the opacity to 0.4
  • and change the stage 0 mapping type to Environment

glass_002.jpg

 

move on the the shader tab and edit the blend mode

  • set blend mode to alpha blend'

glass_003.jpg

 

set the material up you wish to use as a glass texture.

  • check stage 0 texture up to desired material
  • I've used ref_reflect2.tga for my glass texture
  • make sure to click on display and apply the material to model glass

glass_004.jpg

 

before exporting you want to set the w3d options

  • under w3d export settings goto geometry options
  • check valpha
  • check 2-sided if your model only has one mesh side and to repeat the material over to the none existing mesh side (underside of mesh)
  • Export to desired w3d container (terrain, etc etc)

preview_glass.jpg

 

This is the model i whipped up for this example as shown if you have followed my small tutorial  :) goodluck  :D

 

Another thing is if you want the glass to shatter simply check the shatter option in the w3d geometry options

also you want to add this code to the 'user defined' section of the mesh that is glass... to do this simply right click the glass mesh and click properties and you will see the user define tab in the text editor box place this code into it... " LVSMaterial1 = glass " without the brackets

Link to comment
Share on other sites

WOW...  I caused a Perma-Tutorial!!!   :D  And a great one it is...  It worked Perfectly!!!  Well Done! and thank you again...

Link to comment
Share on other sites

  • 4 months later...

Thanks Mauler! I have another question!
Is it possible to add like a red or green or other color tint to it?
I tested this out making a plane, and a box. You could only see the plane from one side, not both. That normal?


 

Link to comment
Share on other sites

Guest Mauler

Thanks Mauler! I have another question!

Is it possible to add like a red or green or other color tint to it?

I tested this out making a plane, and a box. You could only see the plane from one side, not both. That normal?

 

 

 

 

  • check 2-sided if your model only has one mesh side and to repeat the material over to the none existing mesh side (underside of mesh)

Changing the ambient, Diffuse, and emissive vertex options will give you control of color... 

Link to comment
Share on other sites

  • 5 months later...

You don't have to do it when you select shatter. You can put the shatter option on anything too. For example if you want something to be breakable like old wood or ice.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.