Author Topic: transparent wing problem =_=U  (Read 3405 times)

Offline Spiritwolf223

  • Familiar Grounds Dweller
  • **
  • Posts: 50
  • Floof-O-Meter: 0
    • View Profile
transparent wing problem =_=U
« on: January 06, 2014, 12:51:57 am »


The code I used (Only pasted one code)

material preset_4_equipMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture Wing2Shade.png
}
}
}
}

Could someone send me the correct code?

Offline OreoHeroz

  • Taco-Hat
  • Elder Grey Pelt
  • ****
  • Posts: 3,225
  • Country: 00
  • Floof-O-Meter: 142
    • View Profile
Re: transparent wing problem =_=U
« Reply #1 on: January 06, 2014, 01:19:15 am »
I have a different code:

material preset_#_equipMatL
{
    receive_shadows on
   technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                    diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture preset_#equip.png
                         tex_address_mode wrap
                         filtering trilinear
          }
             texture preset_#equip.png
          }
       }
    }
}
material preset_#_equipMatR
{
    receive_shadows on
   technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                    diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture preset_#equip.png
                         tex_address_mode wrap
                         filtering trilinear
          }
             texture preset_#equip.png
          }
       }
    }
}

However here is the regular one:

material preset_#_equipMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_#equip.jpg
         }
      }
   }
}
material preset_#_equipMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_#equip.jpg
         }
      }
   }
}

!!Be sure to change the _# to your preset number.!!

If you have any further problems feel free to post here again. ^^ Good luck on your preset!
« Last Edit: January 06, 2014, 01:21:35 am by OreoHeroz »

Offline Spiritwolf223

  • Familiar Grounds Dweller
  • **
  • Posts: 50
  • Floof-O-Meter: 0
    • View Profile
Re: transparent wing problem =_=U
« Reply #2 on: January 06, 2014, 01:54:14 am »
Oh my gosh

Thank you thank you thank you!!! ^-^

Offline Spiritwolf223

  • Familiar Grounds Dweller
  • **
  • Posts: 50
  • Floof-O-Meter: 0
    • View Profile
Re: transparent wing problem =_=U
« Reply #3 on: January 06, 2014, 01:59:07 am »
When I tried making some parts of the wings, it made the entire thing invisible. Other than that, it worked.

                                        Have a semi-transparent code too? ._.U

Offline OreoHeroz

  • Taco-Hat
  • Elder Grey Pelt
  • ****
  • Posts: 3,225
  • Country: 00
  • Floof-O-Meter: 142
    • View Profile
Re: transparent wing problem =_=U
« Reply #4 on: January 06, 2014, 02:22:27 am »
Oh my gosh

Thank you thank you thank you!!! ^-^

No problem! \o/



When I tried making some parts of the wings, it made the entire thing invisible. Other than that, it worked.

                                        Have a semi-transparent code too? ._.U


There is no actual code for a semi-transparent wing. However, I'll just pull up a crappy guide for you..since I can't find one with pictures. This one is made as a body, just do the opposite as for a wing. Sorry if you can't understand it. I'll try to explain it as best as i can.




Offline Spiritwolf223

  • Familiar Grounds Dweller
  • **
  • Posts: 50
  • Floof-O-Meter: 0
    • View Profile
Re: transparent wing problem =_=U
« Reply #5 on: January 06, 2014, 02:24:19 am »
A bit confusing...

Offline OreoHeroz

  • Taco-Hat
  • Elder Grey Pelt
  • ****
  • Posts: 3,225
  • Country: 00
  • Floof-O-Meter: 142
    • View Profile
Re: transparent wing problem =_=U
« Reply #6 on: January 06, 2014, 02:31:10 am »
Lol I understand you. ^^ I didn't get it really myself when I made this; I was sort of in a rush since I remembered to do last-minute homework. o.e

I'll try and search up a tutorial for you, if you like. However, hopefully someone else comes along and helps you with this situation.

Offline Spiritwolf223

  • Familiar Grounds Dweller
  • **
  • Posts: 50
  • Floof-O-Meter: 0
    • View Profile
Re: transparent wing problem =_=U
« Reply #7 on: January 06, 2014, 02:35:34 am »
Ok, thank you. ^-^

Offline Spiritwolf223

  • Familiar Grounds Dweller
  • **
  • Posts: 50
  • Floof-O-Meter: 0
    • View Profile
Re: transparent wing problem =_=U
« Reply #8 on: January 07, 2014, 03:09:43 pm »
Solved! I used to much transparency on the wings before. c: Thanks for your help though.

Offline OreoHeroz

  • Taco-Hat
  • Elder Grey Pelt
  • ****
  • Posts: 3,225
  • Country: 00
  • Floof-O-Meter: 142
    • View Profile
Re: transparent wing problem =_=U
« Reply #9 on: January 07, 2014, 10:01:25 pm »
Solved! I used to much transparency on the wings before. c: Thanks for your help though.

No problem! And from now on I should try to make the tutorials more clearer, lol x3 Good luck with it in the future!