Physigons is a physics sandbox game. You are in a simple world in which you build whatever you like. With 15 primitives, custom objects, RGB color with transparency, independent x/y/z scaling, and unlimited objects the possibilities are endless! But that's not all - turn on physics simulation mode and watch your creations fall apart - as many times as you like! You can also shoot balls to further interact with your environment. Physigons uses Nvidia PhysX™ to provide an epic physics simulation.

Post feature Report RSS New shadow rendering method

A new hemispherical lighting shadow rendering method I came up with for Physigons (not yet implemented)

Posted by on

NEXT GEN SHADOW SYSTEM!

I have created a FULLY DYNAMIC shadow system for the next Physigons. It uses a new technique I invented to simulate a "cloudy day" atmosphere.

In the next screenshot you can see how the shadows fade away as they get farther from a surface!

This torus looked so fancy I left it at 1080p.

Much better then those horribly glitchy and unrealistically sharp stencil shadows.
This demo program runs at 800fps at 1080p on my GTX670 based pc, so hopefully it will run well in the final game.

With 500 cubes, fps is ~100:

With 2000 cubes, fps is 20-25. In this shot you can see how well the dense objects block the ambient light:

Resolution doesn't seem to affect the performance. At 1440p the fps was 22. At 640x400 the fps was... 23. I will of course include an option to disable the shadow system for large simulations/bad computers. With 2000 cubes using a simple hemispherical lighting effect (no shadows), fps was 100. Using hi-poly spheres in place of cubes, fps was almost the same. The problem is CPU overhead when rendering each object, a problem with Dark Basic pro (the engine I am using). Eventually I will try diving into the DB pro source code to fix this.

Comments
Wolfy_girl
Wolfy_girl

Looks really good for DBP! Wish there was a video of this.

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Icon
Physigons
Platforms
Windows
Creator
Inflictive
Contact
Send Message
Release date
Game watch
Follow
Feature
Tags
Feature
Browse
Features
Report
Report
Share
Related Games
Physigons
Physigons Realistic Sim
Related Engines
DarkBASIC Professional
DarkBASIC Professional Commercial