Feral Heart
Help & Guidance => Member Made Tutorials => Presets & Markings Tutorials => Topic started by: slycan on May 06, 2011, 12:38:24 am
-
Some'more .material coding
There's alot more you can learn about here: http://www.ogre3d.org/docs/manual/manual_14.html (http://www.ogre3d.org/docs/manual/manual_14.html)
However, these are just basic ones I've used before for mods (:
-images soon-
(http://www.iconbazaar.com/bars/ethnic/greekbar117.gif)
(http://www.iconbazaar.com/dots/animated/4anidot2c.gif) Ambient Lighting ( Shading) (http://www.iconbazaar.com/dots/animated/4anidot2c.gif)
(http://www.iconbazaar.com/bars/ethnic/greekbar117.gif)
Gives the body part shading
material preset_2_bodyMatL
{
technique
{
pass
{
ambient 0.8 0.8 0.8 1.0
texture_unit
{
texture CharacterImage.png
}
}
}
}
~Variations~
Medium Shading : ambient 0.6 0.6 0.6 1.0
Dark Shading : ambient 0.4 0.4 0.4 1.0
Super Shading : ambient 0.2 0.2 0.2 1.0
(http://www.iconbazaar.com/bars/ethnic/greekbar117.gif)
(http://www.iconbazaar.com/dots/animated/4anidot2c.gif) Shading(http://www.iconbazaar.com/dots/animated/4anidot2c.gif)
(http://www.iconbazaar.com/bars/ethnic/greekbar117.gif)
Gives the body part a certain type of shading technique
material preset_2_bodyMatL
{
technique
{
pass
{
shading gouraud
texture_unit
{
texture CharacterImage.png
}
}
}
}
~Variations~
High-End Shading : shading phong
Normal Shading (default) : shading gouraud
Polygon Shading : shading flat
(http://www.iconbazaar.com/bars/ethnic/greekbar117.gif)
(http://www.iconbazaar.com/dots/animated/4anidot2c.gif) Specular Lighting ( Shininess ) (http://www.iconbazaar.com/dots/animated/4anidot2c.gif)
(http://www.iconbazaar.com/bars/ethnic/greekbar117.gif)
Gives the body part a reflective shiny-ness from the light ( sort of like wetness or metal)
material preset_2_bodyMatL
{
technique
{
pass
{
specular 0.2 0.2 0.2 1.0
texture_unit
{
texture CharacterImage.png
}
}
}
}
~Variations~
Clean : specular 0.2 0.2 0.2 1.0
Shiny : specular 0.4 0.4 0.4 1.0
Super Shiny : specular 0.6 0.6 0.6 1.0
Blinding: specular 0.8 0.8 0.8 1.0
-
Lol, why dont you use the already existing Thread? ;)
-
oh I'm not going to stickie this I'm just going to link it like the others ^^
-
Then i will link your Thread :3
-
How do I apply these to the Material File? Do I overwrite text or just paste it at the bottom?
-
-
Thank you so much! I am now narrowing in on your Tutorials! (Nice Logo by the way)
-
OH, and if I need to make the MARKINGS...shiny? Forgot to add that.
-
-
I'd be willing to wait. ^^
-
Meep
-
This tutorial was created over four years ago, the last post was made in 2012, and the owner of the thread is no longer existent, so I will be locking this topic. Please check the date of the thread before posting a reply.