JCPalmer Posted February 12, 2016 Share Posted February 12, 2016 When materials library was being developed / part of the monthly contest, I did not have time to pay that much attention. Now I had a thought I might make a material for an eye maybe like this, but also normalish eyes with settable eye color, pupil size: Am already planning to use separate the left & right eye & place the origin in the back center of each. Simple rotations can then be done, eliminating the need for a bone. Am now trying to catch up. Does this look like a good candidate? This material would probably not be repo'ed. It is kind of custom, and only would work if you had separated eye meshes. Is there a technical requirement to be in the repo? Did not see any topic in documentation (did not search the forum yet). Spot checking the source, it was encouraging to see the attribute, vEyePosition, being passed to shaders. Is this the center of the pupil? Finally, there were not base Material library classes, so I side by side diff'ed simple vs Lava. There are enormous quantities of similarities, but did notice that somethings that should be the same were not, like bone handling (that's what I was working back then). Might not a base class that has all the standard stuff make this a simple effort be a good idea? Have method for subclasser to call in their constructor to specify the unique attributes for them. Would make what was unique stand out. Or is this what procedureTexturesLibrary is for? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.