Feral Heart

Help & Guidance => Member Made Tutorials => Presets & Markings Tutorials => Topic started by: slycan on May 06, 2011, 12:38:24 am

Title: Mo'Material Codes : |Shading | Lighting | Shine |
Post 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

Quote
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

Quote
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)

Quote
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
Title: Re: [WIP]List of .Material Scripts/Coding
Post by: Tigg on May 06, 2011, 12:43:00 am
Lol, why dont you use the already existing Thread? ;)
Title: Re: [WIP]List of .Material Scripts/Coding
Post by: slycan on May 06, 2011, 12:45:17 am
oh I'm not going to stickie this I'm just going to link it like the others ^^
Title: Re: [WIP]List of .Material Scripts/Coding
Post by: Tigg on May 06, 2011, 01:00:47 am
Then i will link your Thread :3
Title: Re: Mo'Material Codes : |Shading | Lighting | Shine |
Post by: Fantasia_Cross on November 06, 2012, 11:29:50 pm
How do I apply these to the Material File? Do I overwrite text or just paste it at the bottom?
Title: Re: Mo'Material Codes : |Shading | Lighting | Shine |
Post by: Ruby1234 on November 07, 2012, 03:53:46 am
Title: Re: Mo'Material Codes : |Shading | Lighting | Shine |
Post by: Fantasia_Cross on November 07, 2012, 05:11:29 am
Thank you so much! I am now narrowing in on your Tutorials! (Nice Logo by the way)
Title: Re: Mo'Material Codes : |Shading | Lighting | Shine |
Post by: Fantasia_Cross on November 07, 2012, 05:14:58 am
OH, and if I need to make the MARKINGS...shiny? Forgot to add that.
Title: Re: Mo'Material Codes : |Shading | Lighting | Shine |
Post by: Ruby1234 on November 07, 2012, 05:17:16 am
Title: Re: Mo'Material Codes : |Shading | Lighting | Shine |
Post by: Fantasia_Cross on November 07, 2012, 05:31:05 am
I'd be willing to wait. ^^
Title: Re: Mo'Material Codes : |Shading | Lighting | Shine |
Post by: Toxicthewolf9 on September 13, 2015, 06:40:09 pm
Meep
Title: Re: Mo'Material Codes : |Shading | Lighting | Shine |
Post by: Warriorstrike on September 13, 2015, 07:10:57 pm
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.