Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - cattails

Pages: [1]
1
Game Suggestions & Ideas / please delete
« on: July 18, 2019, 02:05:00 am »
x

2
In-Game Roleplay & Group Advertisement / please delete
« on: July 09, 2019, 07:19:53 pm »
x

3
Other Mods/Creations / please delete
« on: July 06, 2019, 09:18:22 pm »
x

4
Game Help / Combining codes in preset material files?
« on: July 07, 2016, 02:25:13 am »
Hello!

I'm trying to create a preset for a character of mine that happens to be a fluffy white cat. The whole preset was created with ambient shading in the coding, as I'd like the shading to be more pronounced than FH's default coding will allow. This has worked out perfectly so far, but I'm running into problems with the mane. The code for transparency and the code for ambient shading would need to be combined in order to allow both effects to show properly. (Otherwise I'll have to choose between a glowing mane at night or a blocky mane 24/7)

I've tried dropping the ambient shading code in beneath "pass" and above "texture unit," but that didn't seem to work. Neither did tuning "lighting off" to "lighting on."

Here's what my mane code currently looks like:
Quote
material preset_1_maneMat
{
   technique
   {
      pass
      {
         lighting on
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         ambient  0.75 0.74 0.73 1.0
         texture_unit
         {
            texture Preset1Mane.png
         }
      }
   }
}

Here's the two codes separately:
Transparency:
Quote
material preset_1_maneMat
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         texture_unit
         {
            texture Preset1Mane.png
         }
      }
   }
}

Ambient:
Quote
{
   technique
   {
      pass
      {
        ambient  0.75 0.74 0.73 1.0
         texture_unit
         {
            texture Preset1Mane.png
         }
      }
   }
}

EDIT: Forgot to mention that I will be using the 'forward' or 'side' manes, not the 'fluffy' mane. It's probably not important, but I thought I'd mention it just in case it is. <3

Also, is it possible to combine animation (Gif/frame-by-frame style) with ambient shading? If you could help me out, that would be super neat. :y

Pages: [1]