Page 1 of 1
CustomMaterial test
Posted:
Thursday, 11.October 2012, 20:24
by ikam
Hi
If someone could test this for me it will be great. (it's in prevision to use with a custom ipp)
I fixed CustomMaterial, so now it can take texture as input (for now, only one).
I would like to know if in the example, all mesh are full mapped with the brick texture and the emboss effect
thanks
Re: CustomMaterial test
Posted:
Thursday, 11.October 2012, 20:56
by Skinnytorus
Great! Thanks for another testing fodder
I will revert tomorrow. Too tired...
Re: CustomMaterial test
Posted:
Thursday, 11.October 2012, 22:31
by ikam
as ever thanks
I've compiled another version with 4 textures as input for testing (internal limit is 16) and comments on how to use it as is not so easy for non coder.
Re: CustomMaterial test
Posted:
Friday, 12.October 2012, 19:46
by Skinnytorus
hey, ikam
I can confirm that the UV mapping of Custom Mat is identical to that of Tex2D used in ModMaterial. So, no problem with UVs
EDIT: emboss also works, but I don't know how to control its value...
But the Custom material outputs black and white picture. Is that supposed to behave like that at this stage of development?
Re: CustomMaterial test
Posted:
Friday, 12.October 2012, 20:24
by ikam
Ok thanks much
if you want to change values you need to edit the pixel shader code, look at the constantes and try.
Re: CustomMaterial test
Posted:
Saturday, 13.October 2012, 18:03
by Skinnytorus
Thanks. This has a huge potential, mate. I think I'll go find some more example shaders and tutorials on how it all works
Re: CustomMaterial test
Posted:
Saturday, 13.October 2012, 20:58
by nikitos75
So, you so close to make reflection material))))
Re: CustomMaterial test
Posted:
Sunday, 14.October 2012, 07:58
by ikam
yes surely, didn't test yet but it's could be doable.