Horde3D
http://horde3d.org/forums/

loading shaders
http://horde3d.org/forums/viewtopic.php?f=2&t=984
Page 1 of 1

Author:  rjm [ 18.10.2009, 11:55 ]
Post subject:  loading shaders

hello, I'm currently trying to determine if the shader "includes" are loaded via the current path ./, or if they are simply resource names.

For example, if I'm not loading my resources from disk, should I load up shaders first that I know other shaders depend on to prevent errors, or can I just load everything at a later time, and the engine will figure out dependencies then?

Thanks for your time;

rjm

Author:  marciano [ 18.10.2009, 17:03 ]
Post subject:  Re: loading shaders

rjm wrote:
hello, I'm currently trying to determine if the shader "includes" are loaded via the current path ./, or if they are simply resource names.

For example, if I'm not loading my resources from disk, should I load up shaders first that I know other shaders depend on to prevent errors, or can I just load everything at a later time, and the engine will figure out dependencies then?

Shader includes are Code resources, so you have to use the resource name. You don't have to take care of the order in which you load shader and code resources, Horde will handle that.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/