CreateLight() for shadows only?

Advanced game related topics
User avatar
J. Baker
Addict
Addict
Posts: 2196
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

CreateLight() for shadows only?

Post by J. Baker »

It would be nice if you could create light but not use the actual light itself (example of using baked textures) and use DisableMaterialLighting(0, 1) along with WorldShadows(#PB_Shadow_Additive) and EntityRenderMode(0, #PB_Entity_CastShadow). My attempt failed as I'm sure for the obvious reason. Unless there's something I don't know? Maybe a shadow only flag for CreateLight() could be added or something.
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef


Even the vine knows it surroundings but the man with eyes does not.