to Yann L strange question

Started by
29 comments, last by rhesus 20 years, 9 months ago
quote:Original post by Yann L

quote:
Are the shaders API independent, or would you have to write one for each renderer to achieve the same effect? i.e. is the shader system part of the engine core, or part of the render core?

They are part of the render core, and thus API dependent. If someone wants to port the engine to a different API later on (possible, but we won''t do it), he''ll have to port every single shader. That''s the price to pay for performance. But well, due to extensive use of Cg, it wouldn''t be that bad either.



So your engine has names for these shaders and loads the appropriate dll via the renderer correct? Do these shaders include texturing e.g. a simple texturer shader which would take the name of a texture to load? or does the shader just describe the method used to texture the geometry and bind the texture dynamically?

This topic is closed to new replies.

Advertisement