Author Topic: Preset help? Please lock  (Read 1678 times)

Offline Arkham_Scout

  • Finest Floof
  • ***
  • Posts: 654
  • Country: us
  • Floof-O-Meter: 33
  • Yes, I am back
    • View Profile
    • my toyhou.se
Preset help? Please lock
« on: September 19, 2019, 09:09:09 am »
My bf fixed the preset, please lock this ^^

I got a problem with a preset.

spoiler
<< it looks like this


body ^

^head


^tail


scroll

here's the code

Quote
material preset_2_bodyMatL
{
   technique
   {
      pass
      {
          scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2body.png
          }
          texture_unit
          {
            texture preset_2scroll.png           
             colour_op alpha_blend
          }
          texture_unit
          {
        texture preset_2scroll.png
        colour_op_ex blend_current_alpha src_texture src_current
 tex_address_mode wrap
 filtering trilinear
 scroll_anim 0.0 0.1       
         }
       }
    }
 }
material preset_2_bodyMatR
{
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2body.png
          }
          texture_unit
          {
             texture preset_2scroll.png           
             colour_op alpha_blend
          }
          texture_unit
          {
        texture preset_2scroll.png
        colour_op_ex blend_current_alpha src_texture src_current
 tex_address_mode wrap
 filtering trilinear
 scroll_anim 0.0 0.1       
         }
       }
    }
 }
material preset_2_headMatL
{
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2head.png
          }
          texture_unit
          {
             texture preset_2scroll.png           
             colour_op alpha_blend

          }
          texture_unit
          {
        texture preset_2scroll.png
        colour_op_ex blend_current_alpha src_texture src_current
 tex_address_mode wrap
 filtering trilinear
 scroll_anim 0.0 0.1       
          }
       }
    }
 }
material preset_2_headMatR
{
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2head.png
          }
          texture_unit
          {
             texture preset_2scroll.png           
             colour_op alpha_blend

          }
          texture_unit
          {
        texture preset_2scroll.gif
        colour_op_ex blend_current_alpha src_texture src_current
 tex_address_mode wrap
 filtering trilinear
 scroll_anim 0.0 0.1
        }
       }
    }
 }
material preset_2_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_2eye.jpg
         }
      }
   }
}
material preset_2_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_2eye.jpg
         }
      }
   }
}
material preset_2_tailMat
{
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2tail.png
          }
          texture_unit
          {
             texture preset_2scroll.png           
             colour_op alpha_blend

          }
          texture_unit
          {
        texture preset_2scroll.png
        colour_op_ex blend_current_alpha src_texture src_current
 tex_address_mode wrap
 filtering trilinear
 scroll_anim 0.0 0.1
        }
       }
    }
 }
material preset_2_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_2mane.png
                        }
                }
        }
}
« Last Edit: September 20, 2019, 05:21:05 pm by ArkhamScout »

Offline Bloo.

  • Space-Child ✌
  • Moderator
  • Elder Grey Pelt
  • *****
  • Posts: 2,657
  • Country: us
  • Floof-O-Meter: 191
  • nyoom
    • Bloopaloozer
    • Bloopalooza FH
    • aLittleProzium
    • Bloopalooza
    • View Profile
    • DeviantArt
Re: Preset help?
« Reply #1 on: September 19, 2019, 03:06:01 pm »
I'm confused o;
Do you not want the stripes to be transparent or?


You are amazing <3

Offline Arkham_Scout

  • Finest Floof
  • ***
  • Posts: 654
  • Country: us
  • Floof-O-Meter: 33
  • Yes, I am back
    • View Profile
    • my toyhou.se
Re: Preset help?
« Reply #2 on: September 19, 2019, 04:51:14 pm »
I'm confused o;
Do you not want the stripes to be transparent or?
My boyfriend said to make the stripes transparent while the body is black Idk when wrong

Offline Bloo.

  • Space-Child ✌
  • Moderator
  • Elder Grey Pelt
  • *****
  • Posts: 2,657
  • Country: us
  • Floof-O-Meter: 191
  • nyoom
    • Bloopaloozer
    • Bloopalooza FH
    • aLittleProzium
    • Bloopalooza
    • View Profile
    • DeviantArt
Re: Preset help?
« Reply #3 on: September 19, 2019, 04:57:03 pm »
So, black body and transparent stripes. Where did you want the galaxy scroll?


You are amazing <3

Offline Arkham_Scout

  • Finest Floof
  • ***
  • Posts: 654
  • Country: us
  • Floof-O-Meter: 33
  • Yes, I am back
    • View Profile
    • my toyhou.se
Re: Preset help?
« Reply #4 on: September 19, 2019, 05:43:13 pm »
So, black body and transparent stripes. Where did you want the galaxy scroll?
in the stripes scrolling
« Last Edit: September 19, 2019, 06:10:57 pm by ArkhamScout »

Offline Kuri

  • Immortal Legend
  • *****
  • Posts: 8,168
  • Country: nz
  • Floof-O-Meter: 136
  • Foreboding evil harmless kitten.
    • dumbstuff4friends
    • channel/UCo42jgbLvEzkofpOin0_a4A
    • View Profile
Re: Preset help?
« Reply #5 on: September 19, 2019, 09:07:02 pm »
Oh i think i see.  If you wanted a black body & scrolling stripes under it you would need the scrolling texture first, as the first pass, then put the black over the top as a second pass.

{
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2tail.png     
        }
       }
    }
 }
« Last Edit: September 19, 2019, 09:12:03 pm by Kuri »
The Japanese concept of wabisabi:
The closest concept in english would be 'rustic'
They might have an old thing, one example is a favourite bowl or dish, it's broken, pieces are missing, why fix it?  With gold and pieces from other dishes?
"Because it was my favourite & I like it"

Offline Arkham_Scout

  • Finest Floof
  • ***
  • Posts: 654
  • Country: us
  • Floof-O-Meter: 33
  • Yes, I am back
    • View Profile
    • my toyhou.se
Re: Preset help?
« Reply #6 on: September 20, 2019, 02:55:44 am »
Oh i think i see.  If you wanted a black body & scrolling stripes under it you would need the scrolling texture first, as the first pass, then put the black over the top as a second pass.

{
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2tail.png     
        }
       }
    }
 }

I'll see if it works

Offline Arkham_Scout

  • Finest Floof
  • ***
  • Posts: 654
  • Country: us
  • Floof-O-Meter: 33
  • Yes, I am back
    • View Profile
    • my toyhou.se
Re: Preset help?
« Reply #7 on: September 20, 2019, 04:33:57 am »
Oh i think i see.  If you wanted a black body & scrolling stripes under it you would need the scrolling texture first, as the first pass, then put the black over the top as a second pass.

{
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2tail.png     
        }
       }
    }
 }

I'll see if it works


it doesn't work

spoiler
« Last Edit: September 20, 2019, 05:11:24 am by ArkhamScout »

Offline FlyingGrass

  • ~🛠 The avant-garde doctor of mechanical beings. 🔧 🔬
  • Elder Grey Pelt
  • ****
  • Posts: 2,516
  • Country: 00
  • Floof-O-Meter: 121
  • Avatar=Me|Signature=Me
    • FlyingGrass
    • channel/UCA7RfqQ1KLl4s8JhxIXNs_Q
    • View Profile
    • Mechanicafeles Discord link
Re: Preset help?
« Reply #8 on: September 20, 2019, 05:48:44 am »
What does the code look like after Kuri's code was added?

My presets.

Good things take time, so I'll take an eternity and create something so good that the human brain can't handle the sheer goodness of it.

Offline Arkham_Scout

  • Finest Floof
  • ***
  • Posts: 654
  • Country: us
  • Floof-O-Meter: 33
  • Yes, I am back
    • View Profile
    • my toyhou.se
Re: Preset help?
« Reply #9 on: September 20, 2019, 06:19:21 am »
What does the code look like after Kuri's code was added?

Here what it llooks like
Quote
material preset_2_bodyMatL
{
   {
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2body.png     
        }
       }
    }
 }
material preset_2_bodyMatR
{
    {
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2body.png     
        }
       }
    }
 }
material preset_2_headMatL
{
    {
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2head.png     
        }
       }
    }
 }
material preset_2_headMatR
{
    {
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2head.png     
        }
       }
    }
 }
material preset_2_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_2eye.jpg
         }
      }
   }
}
material preset_2_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_2eye.jpg
         }
      }
   }
}
material preset_2_tailMat
{
   {
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2tail.png     
        }
       }
    }
 }
material preset_2_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_2mane.png
                        }
                }
        }
}