that's it
i don't say to all shaders to look same , caus it wouldn't be shader.
i just say actually , if you want to use shaders with lights , that's not easy task,
when i say unified i mean : no more fixed parameters in code like :
fixed textures like :
texture1 = "grass.bmp" instead use skins like some people do
fixed lights :
ligh1 == 0.5,0.5,0.5 etc ...
instead use some variables parameters for position and colour : this way
any 3DGS user could use it's own light or sun if he wants ,and manage himself
what of the lights of it's level would affect what shader he wants ( with distance if he wants etc ..)
code shaders put on 3DGS functions or material definition :
-unify that and put them on FX Files instead :
it would be better for all
and to maintain programs and read them is a lot more easy to have
a script file doing only what is necessary :
no pollution code.
- put a simple cube or sphere example with all the code ready to download and
use :
it would be a lot better for community instead of each time copy some code from
page and have errors :
and this way the shader woudl be sure to work caus tested and ready to use
well ... there is more than two years that i'm here
i really like 3DGS
and , it's two years shaders a really low
in number , the code is pread all around the site !
even the sticky don't refer all shaders snippets that we can find by digging a little.
My idea is some unified way of writting shaders and deliver them to 3DSG people that could easily tweak the and use them.
I say , but i don't do it , caus i'm very bad in shader programming and knowledege !
and i really really hate maths
if it wasn't the case, i would do.
but i knwo w hat i can do :
perhaps i'll take one or two snippets from the site, put them in a FX file ,verify they use teh skins or lights parameters and no fixed ones in script and put the minimum script to use them with
some comments and the downloadable example
I don't say that for me but for all 3DGS people and any new user that would come
and could find shaders ready to use and tweak with simple coments :
all in smae format : FX File , and some simple script code.