Shader inputs in a general purpouse engine

Posted by dreta on Game Development See other posts from Game Development or by dreta
Published on 2012-07-11T09:15:25Z Indexed on 2012/07/11 9:23 UTC
Read the original article Hit count: 227

Filed under:

I'm not familiar with SDKs like Unity or UDK that much, so i can't check this off hand. Do general purpouse engines allow users to create custom uniform variables? The way i see it, and the way i have implemented it in an engine i'm writing to learn 3D, is that there is a "set" of uniforms provided by the engine and if you want to write a custom shader then you utilize uniforms you need to create a wanted effect.

Now, the thing is, first of all i'm not an artist, second of all, i didn't have a chance to create complex scenes yet. So my question is, is it common practice to define variables that the engine provides and only allow the user to work with what they're given?

Allowing users to add custom programs and use them where they want is not hard, but i have issues imagining how you'd go about doing the same for uniforms.

© Game Development or respective owner

Related posts about graphics-programming