Game Development Community

Torque X Shaders

by Yves Albuquerque · in General Discussion · 02/12/2008 (6:16 am) · 2 replies

Hello!

I'm trying to use the Torque Game Engine Advanced demo in my notebook,
but it does not have vertex shaders support. So I tried to recompiled
it (I bought the SDK 1.0.3) to force software rendering.

I changed:

deviceFlags = D3DCREATE_HARDWARE_VERTEXPROCESSING;

to:

D3DCREATE_SOFTWARE_VERTEXPROCESSING;

with Microsoft Visual Studio C++ Express 2005, it compiles, but when
it runs I got a message

"Error: failed to open main.cs"

Can someone help me or indicate where I can get some?

Thank you.

#1
02/12/2008 (6:36 am)
Well, first of all, you're posting the wrong topic title as it is related to TGEA and not TorqueX (the C# XNA engine). Second of all, it would probably be better to post on the private forums for TGEA if you're making source changes.

You can change your forum subscriptions by hovering over community and then clicking forums. There will be a manage subscriptions link. Check the boxes you need and save your settings and you're good to go.
#2
02/12/2008 (8:59 am)
Thanks