Jump to content
Sign in to follow this  
jtin

.tga textures and shadows

Recommended Posts

I've got a lighthouse model with 2 .tgas, one for the railing (LHrailing.tga) and one for the rotating light (LHlight.tga)

 

In max, the .tgas show up (although the alphas show up as black in the viewport and white in the renderer - is this normal?)

 

LHmax.jpg

 

but in game both .tgas are missing

 

inWOE.jpg

 

The .OUT file confirms that the references are being exported...

 

LighthouseStem [128 polys, 384 verts (decal)] '01 - Default'

Railing [128 polys, 384 verts (decal)] '02 - Default'

LightRoom [24 polys, 72 verts (decal)] '01 - Default'

Top [270 polys, 810 verts (decal)] '01 - Default'

Light [32 polys, 96 verts (decal)] '03 - Default', AnimationID: 1

 

 

Num Nodes: 5

Total: (582 polys, 1746 verts)

Mesh Max: (270 polys, 810 verts)

 

3 Materials:

( 1) 01 - Default:

lighthouse.bmp

( 2) 02 - Default:

LHrailing.tga

( 3) 03 - Default:

LHlight.tga

 

3 Textures:

lighthouse.bmp

LHrailing.tga

LHlight.tga

 

Points

 

Extents

 

but it's not showing... why?

 

On another note, is there a way to have shadows show up on terrain objects?

Share this post


Link to post
Share on other sites

You didn't use the materials editor to properly assign TGAs to the parts, including activating the Opacity and Self-Illumination parameters.

 

As far as shadows, there is a thread someone else asked the same question. The answer is yes, just like any other ground or air object, the appropriate lines have to be written in the ini file.

 

FC

Share this post


Link to post
Share on other sites

What should it look like?

 

I noticed that you can assign a bitmap to the opacity parameter but it looks like its using a scale of black to white and would require an additional texture...? Isn't self-illumination just the "glow" of the texture?

 

Ah just saw some of the objects have .inis - was under the impression that all their stuff was in the terrain_types.ini - all clear now :)

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..