File Feedback

Thanks for downloading this file. If you liked this file and want to promote it, click the thumbs up icon. If you didn't like this file, click the thumbs down icon.

Like Thumbs Up    Dislike Thumbs Down

Advertise Here
You can have your ad here for free! Click here to get started.
Close

File name: shadows.gmk
Downloads: 15
Size: 0.01MB
This file belongs to retep998.
3 Thumbs Up   4 Thumbs Down

Download

Show/Hide Sharing Links


User Image

Cool! Nice work!

User Image

You can now add lights by right clicking.
I've also differentiated between static and dynamic.
make sure you create static casters BEFORE static lights, otherwise they won't cast shadows.
create_caster has been replaced with create_dynamic_caster and create_static_caster

User Image

Just create an object and in it's create event add something like...
create_caster(x,y,x+16,y);
create_caster(x+16,y,x+8,y+16);
create_caster(x+8,y+16,x,y);
Basically, just define the edges of your shape using caster lines.
I'll be adding static/dynamic differentiation soon to speed up the engine even more.

User Image

It's pretty cool, and doesn't run too slow. Would be nice to see with objects with different shapes.

User Image

This is a basic lighting engine I made.
It features fast dynamic shadows.
It's much better than my cruddy ray system.

Please login to post a comment!


PayPal - The safer, easier way to pay online!

Donate to keep UpUrLoad.com a free upload service.