Author Topic: glowing eyes in a preset?  (Read 6583 times)

Nightpelt 1906

  • Guest
glowing eyes in a preset?
« on: February 09, 2012, 09:05:09 am »
hey! i want to make a evil char who has green glowng eyes (i think green, but that doesnt matter much), and i want to know how to get glowing body parts, or eyes in this case, can someone help? (BTW i use FH+)

Offline Crin

  • The Silver-Tongue
  • Pack & Pride Representative
  • ****
  • Posts: 1,137
  • Floof-O-Meter: 113
  • The Illuminati Pedro Hat
    • View Profile
    • Tumblr
Re: glowing eyes in a preset?
« Reply #1 on: February 09, 2012, 09:13:58 am »
Now, I'm not sure if this works in FH+, but I don't see why it wouldn't... Have you tried this tutorial?: http://emecay.deviantart.com/favourites/#/d3ax1d2

I find that it has helped me... a lot with my presets in the way of coding.
Resigned, quit, and basically long gone.

P R I D E <3

Offline Jitters

  • Mutant Turtle
  • Elder Grey Pelt
  • ****
  • Posts: 2,624
  • Country: ca
  • Floof-O-Meter: 146
  • Hero in a Half Shell!
    • View Profile
Re: glowing eyes in a preset?
« Reply #2 on: February 09, 2012, 05:04:33 pm »
I made a glowing preset using that guide on FH+, It works well.

Offline Lawcere

  • Finest Floof
  • ***
  • Posts: 513
  • Floof-O-Meter: 21
    • View Profile
Re: glowing eyes in a preset?
« Reply #3 on: February 09, 2012, 05:12:40 pm »
Try the code and tutorial here: http://feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=4246.0

For eyes you will want to make a separate eye marking to glow overtop; since the eyes are part of the teeth if you used the glow code on the entire body part your teeth would also glow. Unless you want that. lol

If you follow this way, your code should look something like this:

material preset_7_eyeMatR
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_7eye.PNG
         }
      }
pass
      {
         emissive 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_7eyeglow.PNG
         }
      }
   }
}



Though you can change the glow to have a different colour and add in fake glow for effect, as seen in the tut.
« Last Edit: February 09, 2012, 05:16:43 pm by Lawcere »

Nightpelt 1906

  • Guest
Re: glowing eyes in a preset?
« Reply #4 on: February 10, 2012, 08:10:47 am »
hmm i tried the tutorial Lawcere put, but that knda confused me. can you explain the tutorial or would i have to ask in the actual thread?

Offline Lawcere

  • Finest Floof
  • ***
  • Posts: 513
  • Floof-O-Meter: 21
    • View Profile
Re: glowing eyes in a preset?
« Reply #5 on: February 10, 2012, 08:27:49 am »
It's not complicated, don't worry.

Basically, you have your base layer and your glowing layer.

The base layer is what you normally work with, the file with the eye and teeth that you colour however you want. You'll end up calling this something like preset_1eye.png.

You'll want to make another layer overtop. In Photoshop (or whatever you use) create a new layer, and draw your eye (or whatever you want to glow). It helps if you make it a bright colour, and perhaps have a light glowy effect around the eye area on the head.

Hide the other layers so you have just your eye layer and a transparent background, and save this eye layer as a separate file. You can name it something like preset_1eyeglow.png.

Then in the .material file of your preset folder, scroll down to where the eye coding is and put what I paste:

{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_7eye.PNG
         }
      }
pass
      {
         emissive 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_7eyeglow.PNG
         }
      }
   }
}

under each eye section, but change the filenames (preset_1eye.png) to whatever you saved the files as.
« Last Edit: February 10, 2012, 08:30:33 am by Lawcere »

Offline Crin

  • The Silver-Tongue
  • Pack & Pride Representative
  • ****
  • Posts: 1,137
  • Floof-O-Meter: 113
  • The Illuminati Pedro Hat
    • View Profile
    • Tumblr
Re: glowing eyes in a preset?
« Reply #6 on: February 10, 2012, 08:37:41 am »
That actually just helped me quite a bit myself, so thank you, Law xD
Resigned, quit, and basically long gone.

P R I D E <3

Nightpelt 1906

  • Guest
Re: glowing eyes in a preset?
« Reply #7 on: February 10, 2012, 08:41:39 am »
XD

hmm that sounds a bit better... but how do i create a layer in photoshop? sorry first time using it.

Offline Crin

  • The Silver-Tongue
  • Pack & Pride Representative
  • ****
  • Posts: 1,137
  • Floof-O-Meter: 113
  • The Illuminati Pedro Hat
    • View Profile
    • Tumblr
Re: glowing eyes in a preset?
« Reply #8 on: February 10, 2012, 08:45:04 am »
The same way that you would if you were opening anything else, or so I assume. So if I wanted a glowing tail, one that glowed white, I would have one file for just the basic tail, and then another one with the part colored in the glows.

That... makes no sense to anyone but me, huh? xD Basically, you're creating a copy of the body part that you want to glow., only with just the glowing part.

Still makes no sense, I'm sure xD Even I'm confusing myself now.
Resigned, quit, and basically long gone.

P R I D E <3

Nightpelt 1906

  • Guest
Re: glowing eyes in a preset?
« Reply #9 on: February 10, 2012, 08:57:00 am »
HAH dont blame you, it IS confusing. and whats worse, i cant get onto the game as my preset, or another char, with the same name but not a preset!