Game Development Community

Shadow resource now works on Linux too

by Duncan Gray · in Torque Game Engine · 11/11/2006 (12:26 pm) · 0 replies

The shadow resource has been ported to the latest 1.4.2 TGE Linux source.

I just had to add the FBO declares and put some #ifdef win32 brackets around the pbuffer section of the shadow.cc code. (No pbuffer support on Linux apparantly, but FBO works and is better)

I tested it successfully on SUSE 10.1 with a Geforce 2MX 64 graphic card. I don't have a Mac so can't test it there but it should work fine.