Horde3D

Next-Generation Graphics Engine
It is currently 20.04.2025, 22:57

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: loading shaders
PostPosted: 18.10.2009, 11:55 
Offline

Joined: 18.10.2009, 11:48
Posts: 1
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


Top
 Profile  
Reply with quote  
 Post subject: Re: loading shaders
PostPosted: 18.10.2009, 17:03 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 38 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group