Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Sun Nov 10, 2024 7:22 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: enhanced shadowmaps r965
PostPosted: Sun Apr 11, 2010 4:16 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2593
Location: gnniiiii (Scrat)
I've enhanced a bit shadowmaps: Raydium was used to render the shadowmap over the whole ground, so resulting shadows were very inaccurate with grounds like cocorobix.tri (and it's not the biggest one). The new shadow mode now only renders shadows around the camera, using pixels of the shadowmap in a much more effective way. Off course, objects/elements that are not close enough of the camera are not shadowed.

Size of the bounding box can be changed with raydium_shadow_camerabox_size() and the old behavior is available at any time with "raydium_shadow_mode(RAYDIUM_SHADOW_MODE_FULLSCENE)" (you can use the console for all this).

A quick comparison of old and new modes :
Image

It looks way nicer to me ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group