Some Real-Time Reflections and Mirrors stuff...
Posted: Sat Feb 26, 2005 11:28 pm
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.