Some Real-Time Reflections and Mirrors stuff...

Discuss HaloCE modding with the HEK tools here. For help, go to the Help Desk forum above.
Locked
SunnySharma




Wordewatician 250

Posts: 405
Joined: Sat Jan 29, 2005 10:33 pm

Some Real-Time Reflections and Mirrors stuff...

Post by SunnySharma »

Just to let you guys know, a while back, when the HEK was first released, I messed around and figured out Real-Time reflections.

They are very simple, but sometimes annoying.

Basically, you open a shader file that you want the real-time reflection to apply to.
Now, scroll down, (this only works in shader glass and shader environment tags), all the way down. There should be a check-box in the reflections section that says "Dynamic Mirror." check it off.

Now, apply that shader/texture in Max to a surface in Max. Make sure the surface is flat. Completely flat, no "curved" edges, or you will get a "Could not accumlate final cluster Mirror" error in Tool.
Do whatever the heck else you are doing with your map in Max. Once done, export as usual as .jms, and compile. If it goes correctly, tada! Feel special!

Now, when you open your map in Sapien, the reflection will be weird. It will be showing screwy images. That's ok, Sapien doesn't really render the reflection, it works perfectly in-game.
Add your stuff, etc.
Once in-game, check it out! You can see a reflection!

Warning, this causes giant FPS loss, and if there are TOO many mirrors, giant lag.
Sonictag




Wordewatician 500

Posts: 1241
Joined: Sun Aug 15, 2004 11:01 am
Location: England

Post by Sonictag »

Can you get a screenshot? I never knew the halo engine could render real time reflections..
SunnySharma




Wordewatician 250

Posts: 405
Joined: Sat Jan 29, 2005 10:33 pm

Post by SunnySharma »

Well, I don't have any left really, (microtech removed most of their old files hosted)...

But, start up Two Betrayals SP. Look on the floor of the Control Room, and viola!
gecko753




Literarian 250

Posts: 328
Joined: Mon Feb 23, 2004 3:08 pm

Post by gecko753 »

you can also edit the amount it reflects. so you can have a surface that u can just barely see ur reflection in. another thing is that from what i have seen, the mirror does not take active camo in. so if theres someone w/ active camo standing on a mirror, in the reflection they will not have it.

you can also fool with the alpha values of the base map to make it so that only parts of the surface are mirrors
SunnySharma




Wordewatician 250

Posts: 405
Joined: Sat Jan 29, 2005 10:33 pm

Post by SunnySharma »

Yup, it's a very cool function, but very system-and-internet taking in Halo.
SunnySharma




Wordewatician 250

Posts: 405
Joined: Sat Jan 29, 2005 10:33 pm

Post by SunnySharma »

Here is a screenshot showcasing dynamic real-time reflections in Halo...thanks to SonicXtreme for the screenshot
Image
Fragrate





Posts: 60
Joined: Wed Sep 01, 2004 1:24 pm

Post by Fragrate »

sunny, is that map out ?
SunnySharma




Wordewatician 250

Posts: 405
Joined: Sat Jan 29, 2005 10:33 pm

Post by SunnySharma »

Not yet, almost.

In fact, I may release another Public Beta.
jimjoebob





Posts: 79
Joined: Mon Dec 06, 2004 1:06 am

Post by jimjoebob »

THNX alot ive always wondered how to do mirrors
User avatar
Mourge





Posts: 415
Joined: Sun Aug 29, 2004 6:16 pm
Location: Hesperia, Ca

Post by Mourge »

is it possible in halo pc?
Image
Waverunner





Posts: 2161
Joined: Sat Feb 12, 2005 4:34 pm
Location: I am pwn-proof.
Contact:

Post by Waverunner »

This is a huge bump. Don't do it again, check the dates on threads before you reply.
Locked