CustomMaterial test

CustomMaterial test

Postby ikam » Thursday, 11.October 2012, 20:24

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
You do not have the required permissions to view the files attached to this post.
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: CustomMaterial test

Postby Skinnytorus » Thursday, 11.October 2012, 20:56

Great! Thanks for another testing fodder ;)
I will revert tomorrow. Too tired...
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: CustomMaterial test

Postby ikam » Thursday, 11.October 2012, 22:31

as ever thanks :D

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.
You do not have the required permissions to view the files attached to this post.
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: CustomMaterial test

Postby Skinnytorus » Friday, 12.October 2012, 19:46

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?
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: CustomMaterial test

Postby ikam » Friday, 12.October 2012, 20:24

Ok thanks much :)

if you want to change values you need to edit the pixel shader code, look at the constantes and try.
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: CustomMaterial test

Postby Skinnytorus » Saturday, 13.October 2012, 18:03

Thanks. This has a huge potential, mate. I think I'll go find some more example shaders and tutorials on how it all works :)
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: CustomMaterial test

Postby nikitos75 » Saturday, 13.October 2012, 20:58

So, you so close to make reflection material))))
nikitos75
Partikelmeister
Partikelmeister
 
Posts: 85
Joined: Monday, 04.April 2011, 19:27

Re: CustomMaterial test

Postby ikam » Sunday, 14.October 2012, 07:58

yes surely, didn't test yet but it's could be doable. :lol:
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France


Return to Development and contribution



Who is online

Users browsing this forum: No registered users and 8 guests