Water Shader with alternative rendering for older PCs?
by Alex (Stalker) Sakablukow · in Torque Game Engine · 10/29/2006 (11:37 pm) · 2 replies
I have a question about this ressource:
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10357
how i have found in the ressource-thread, here is no check for shader version
Its here a simle possibility to check out if we have have support for this shader, and if not, to render the water in old way?
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10357
how i have found in the ressource-thread, here is no check for shader version
Quote:So if you try to start a game with the water-shader on a older graphic card, you see no water (have tested it).
But there isn't any kind of check for pixel shader version, so there's no guarantee the shaders will compile on 1.4 hardware (they'll surely NOT compile in 1.1 hardware, due to dependent texture coord lookups).
Its here a simle possibility to check out if we have have support for this shader, and if not, to render the water in old way?
#2
10/31/2006 (7:34 am)
I can try to write alternative rendering, but i need to know if the shader is supported or not..
Torque Owner Duncan Gray