Some Real-Time Reflections and Mirrors stuff...
-
- Posts: 405
- Joined: Sat Jan 29, 2005 10:33 pm
![]() |
Some Real-Time Reflections and Mirrors stuff...
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.
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.
-
- Posts: 405
- Joined: Sat Jan 29, 2005 10:33 pm
![]() |
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
you can also fool with the alpha values of the base map to make it so that only parts of the surface are mirrors
-
- Posts: 405
- Joined: Sat Jan 29, 2005 10:33 pm
![]() |
-
- Posts: 405
- Joined: Sat Jan 29, 2005 10:33 pm
![]() |
-
- Posts: 405
- Joined: Sat Jan 29, 2005 10:33 pm
![]() |
-
- Posts: 2161
- Joined: Sat Feb 12, 2005 4:34 pm
- Location: I am pwn-proof.
- Contact: