Material Editor

From EagleEye TV Projects

Jump to: navigation, search

Download the project here

Material Maker

The Material Maker was made by me in about 1 day of work. The inspiration for it was my lack of desire to be typing in a bunch of hard coded materials in to my game. I didn't really care about the inflexibility of the hard-coded stuff, I just didn't want to go GUESSING at what the values would produce. I wanted to be able to edit the values in real time and actually SEE what the result was in TV.

So, I created this nifty little utility.

NOTE: It doesn't do any of the PRT (SetPRTSubSurfAbsorption, SetPRTSubSurfReducedScattering, or SetPRTSubSurfRefractionIndexRatio) properties of materials yet. Feel free to add that if you like, there's plenty of code there to base it off of... it's just more pain in the butt than I'm willing to deal with right now.

Anyway... here are a few screen shots.

As you can see, it makes material creation easy instead of complicated.

The code includes a loader that takes all of your files (of either type) and loads them all in to your TVMaterialFactory for you.

This should make things a lot easier for people, I hope.

Note: the black box to the bottom right of the render window moves the light around the scene... simply click within it in a relative area, and the light will move to that position relative to the meshes...

Personal tools