Pixel shader problem
by Aaron Clifford · in Torque Game Engine Advanced · 11/13/2006 (6:22 pm) · 1 replies
Hi,
I'm trying to run the TSE terrain water demo on pixel shader 1.1 and/or 1.4, we need it to be able to run on older video cards.
Right now I'm adding:
to:
And it works, as in I get a great FPS increase, but the water becomes completely grey, I know it's supposed to now render a cubemap only, so some changes are made to the water rendering, I just need to know is there anything else I need to do?
Keep in mind I'm an artist so please explain any code changes to me like I'm a new-born child :).
I'm trying to run the TSE terrain water demo on pixel shader 1.1 and/or 1.4, we need it to be able to run on older video cards.
Right now I'm adding:
$pref::Video::forcedPixVersion = 1.1; $pref::Video::forcePixVersion = 1;
to:
tse\example\terrain_water_demo\client\prefs.cs
And it works, as in I get a great FPS increase, but the water becomes completely grey, I know it's supposed to now render a cubemap only, so some changes are made to the water rendering, I just need to know is there anything else I need to do?
Keep in mind I'm an artist so please explain any code changes to me like I'm a new-born child :).
About the author
Torque Owner Brian Ramage
Default Studio Name