Applying Specular Lighting To Models

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
Vyse
General
General
Posts: 776
Joined: Sun Aug 28, 2005 5:01 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Applying Specular Lighting To Models

Post by Vyse »

Here is a quick tutorial on how to apply specular lighting to your models. It adds a real time light glare onto your models. This really makes your models look great!

I have not tested the flag on a object, just a player model and weapon.

Before starting the steps what I have found so far is that it appears you can't have the mesh have more than 1 texture on it. The mesh can only pull from 1 texture. However, I'm still testing this so maybe there can be more. Also I havn't removed the sun flare from my .fx file so I don't know if there has to be a flare or not but right now I have a sun in the map and it works.

Instructions:

1)Make sure your global lighting placed in Zero Editor has the "Cast Specular" on yes

2)Using the Battlefront 1 edit flag, select your polygons with the U key, (Basicly just ctrl+A to select all the polys) then open the edit flag dialog box. Scroll down to Render Specular under the Render Types and hit ok. You do not need to call out a texture or anything.

3)Munge the map and your done.

Options:
You can adjust the angle of your placed light in Zero Editor to change when the light hits on the mesh.

The ending effect is below. The pic are from looking in different directions, you can see the lighting has changed.

Image
Rekubot
Jedi
Jedi
Posts: 1080
Joined: Wed Apr 05, 2006 12:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: Shadow Complex
xbox live or psn: Rekubot
Location: UK

RE: Applying Specular Lighing To Models

Post by Rekubot »

Vyse, you're amazing. I've been wondering how to do this for sooooo long! Thanks!
User avatar
Karnage
Commander Randomtoast
Posts: 947
Joined: Sun Oct 23, 2005 9:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: Overwatch
xbox live or psn: No gamertag set
Location: Wherever there is shenanigannery.

Post by Karnage »

Is that the model I think it is Vyse?

Or is it just the weapon for the model?
Linus

Post by Linus »

Many thanks to you, Vyse...

- Linus
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Qdin »

neat :)

always good with a short tutorial! :wink:
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by t551 »

Thanks, Vyse!
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11079
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Post by Teancum »

Long live Metroid Prime!
The_Emperor
Supreme Galactic Ruler
Posts: 2118
Joined: Sat Dec 10, 2005 6:30 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Waaaaay over there.

Post by The_Emperor »

Awesome as always, vyse
Kyross

Post by Kyross »

They have such informations in the art docs, but you may not have known that or you could be making it easier.

Yay you, anyway.
Vyse
General
General
Posts: 776
Joined: Sun Aug 28, 2005 5:01 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Vyse »

Teancum wrote:Long live Metroid Prime!
Yes, Vi Va La Metroid Prime! :) As many have guessed that is a WIP of the power gun from the Metroid games.

Now if would could only figure out how to do the refraction flag mentioned in the doc. It's not even one of the redner types in the edit flag dialog box.
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Qdin »

what does 'refraction' mean..? :?
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by t551 »

Refraction is how light rays change direction as they cross from one material to another, although I'm not sure if that's what it means here.
Post Reply