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 - Azon

Pages: [1]
1
Presets & Markings Tutorials / HOW TO ADD TEXTURE INSIDE A PRESET!
« on: October 24, 2019, 11:02:48 pm »
Hello all! This is the first time I've actually made my own post on the forums, cool!

Anyway this is from someone else's code and I haven't found it ever since I did, if anyone knows who made it, please let me know! I did not create this code, but I would like to re-update you guys on it! It's a very hard code to explain without it sounding like a double sided/ asymetrical preset. It is NOT the same!

Anyway on with the tutorial!

So this code actually works as an inside and outside texture. Usually when you look inside someone in feral heart they're actually transparent as seen right here:


 
Now for what you're aiming for is actually to have texture inside, like this preset right here:



As you can see the inside of this preset has texture. In this preset I decided to make Inside and Outside the same texture. It works as a double sided texture, because it goes right under the preset. So one is on TOP and one is on the BOTTOM.

So in terms it works like the insides of the preset. This code is mainly used for transparent coding, as in like showing the insides of presets and making cuts look more realistic than just a cut off transparent wound. This code can be used for anything, removal of limbs, ears, noses, tails, etc. Even eyes can be double sided, though they won't be so easy to see!

BOTTOM TEXTURE, means the INSIDE of the preset, while TOP TEXTURE means the regular texture thats outside the preset.
This code can be applied to any part, I'm just giving the bodyMat so you can have the code. As seen on the preset it has been used on the tail and limbs.


Your files should look something like this, your regular outside texture, and you're inside texture:




THIS IS ALL FOR NOW! I hope you guys found this helpful and this enhances your preset making abilities for the future!



The code is right here:
Quote
material preset_4_bodyMatL
{
   receive_shadows off
   technique
   {
      pass
      {
         ambient 1.000000 1.000000 1.000000 1.000000
         diffuse 1.000000 1.000000 1.000000 1.000000
         specular 0.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture BOTTOM TEXTURE.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
      pass
      {
         ambient 1.000000 1.000000 1.000000 1.000000
         diffuse 1.000000 1.000000 1.000000 1.000000
         specular 0.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture TOP TEXTURE.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}
material preset_4_bodyMatR
{
   receive_shadows off
   technique
   {
      pass
      {
         ambient 1.000000 1.000000 1.000000 1.000000
         diffuse 1.000000 1.000000 1.000000 1.000000
         specular 0.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture BOTTOM TEXTURE.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
      pass
      {
         ambient 1.000000 1.000000 1.000000 1.000000
         diffuse 1.000000 1.000000 1.000000 1.000000
         specular 0.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture TOP TEXTURE.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}



Pages: [1]