Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    21
  • comments
    51
  • views
    14028

Reflection

Sign in to follow this  
RageHard

207 views

Last 1.5 days i made a break from bots and inserted reflecting surfaces. Water looks now a lot better [cool]

Each room can have one reflecting plane. The room is then mirrored on that plane in a rendertarget and the not usable part is cut off with a clipping plane.
In the main render buffer a stencil value is set on the areas where the mirror-polygons are. Last step is to copy the rendertarget back to main buffer on places where stenicl value is set, with a reflection factor from 0% - 100%. This can be set in our modeler(Lightwave) in the reflection channel of the surfaces.
I made a quality switch for the rendertarget from 0-4, where 0 renders the mirror with full resolution and all lights and pixelshader effects, 1 full resolution without extra lighting, 2 half resolution, ...


Video shows both water pools from Aquapark with reflecting water and you can hear some MUSIC we plan to use in RageHard[smile]

Video : Water reflection(26MB)

Sign in to follow this  


5 Comments


Recommended Comments

Your game looks amazing...I really like what you're doing here. Keep up the good work! I can't wait to play it.

- Dan

Share this comment


Link to comment
Thx Dan but believe me i am looking forward to your Gang War too. It looks veeeery cool. Very good job. [smile]

Share this comment


Link to comment
May be i will do later. It would be nice effect but i don't know if it would really be seen in the action of the game when it is one time a real game.
Highest priority is to finish bots and redo/replace netcode [smile]

Share this comment


Link to comment

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
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!