Author Topic: Scripts! Moving Tex, Transparent, Glowy, Metallic and more!  (Read 98640 times)

Anger

  • Guest
Re: Scripts! Moving Tex, Transparent, Glowy, Metallic and more!
« Reply #70 on: July 27, 2012, 02:52:11 pm »
I've been having issues with getting both eyes to glow. Does anyone have a screenshot of a succeeded preset with glowing eyes, perchance? The eye looks rather strange from a certain angle:



The left side of the eye from that angle is white, which is its original color.

PS: Another possibility is that my mind simply refuses to accept it's actually glowing, which I doubt.
« Last Edit: July 27, 2012, 02:53:43 pm by Anger »

Offline SilverTW

  • Finest Floof
  • ***
  • Posts: 855
  • Country: 00
  • Floof-O-Meter: 54
  • Inactive account
    • View Profile
    • DeviantART
Re: Scripts! Moving Tex, Transparent, Glowy, Metallic and more!
« Reply #71 on: July 27, 2012, 02:53:04 pm »
I've been having issues with getting both eyes to glow. Does anyone have a screenshot of a succeeded preset with glowing eyes, perchance? The eye looks rather strange from a certain angle:



The left side of the eye from that angle is white, which is its original color.

Can I see your code?

This account is no longer in use, and any messages sent to here will not be read. If you need to reach me, head to https://softdiamond.net

Specialized in FeralHeart Maps,Presets,Objects,Mods,Markings,Textures and MORE.
Video Maker and more!

Anger

  • Guest
Re: Scripts! Moving Tex, Transparent, Glowy, Metallic and more!
« Reply #72 on: July 27, 2012, 02:54:45 pm »
Code: [Select]
material preset_3_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture anger_3body.png
}
}
}
}
material preset_3_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture anger_3body.png
}
}
}
}
material preset_3_headMatL
{
technique
{
pass
{
texture_unit
{
texture anger_3head.png
}
}
}
}
material preset_3_headMatR
{
technique
{
pass
{
texture_unit
{
texture anger_3head.png
}
}
}
}
material preset_3_eyeMatL
{
receive_shadows on
technique
{
pass
{
fragment_program_ref WingModColour_PS
{
param_named colorMod1 float4 0.50 0.50 0.75 0.25
}
texture_unit
{
texture anger_3eye.jpg
tex_coord_set 0
}
cull_hardware none
cull_software none
depth_write off
scene_blend add
}
}
technique 2
{
pass
{
emissive 1.0 1.0 1.0
texture_unit
{
anger_3eye.jpg
colour_op_ex modulate src_texture src_manual 0.105 0.175 0.135 0.25
}
cull_hardware none
cull_software none
depth_write off
scene_blend add
}
}
}
material preset_3_eyeMatR
{
receive_shadows on
technique
{
pass
{
fragment_program_ref WingModColour_PS
{
param_named colorMod1 float4 0.50 0.50 0.75 0.25
}
texture_unit
{
texture anger_3eye.jpg
tex_coord_set 0
}
cull_hardware none
cull_software none
depth_write off
scene_blend add
}
}
technique 2
{
pass
{
emissive 1.0 1.0 1.0
texture_unit
{
anger_3eye.jpg
colour_op_ex modulate src_texture src_manual 0.105 0.175 0.135 0.25
}
cull_hardware none
cull_software none
depth_write off
scene_blend add
}
}
}
material preset_3_tailMat
{
technique
{
pass
{
texture_unit
{
texture anger_3tail.png
}
}
}
}
material preset_3_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture anger_3mane.png
}
}
}
}

I've heard that mixing file extensions can cause problems.

Offline SilverTW

  • Finest Floof
  • ***
  • Posts: 855
  • Country: 00
  • Floof-O-Meter: 54
  • Inactive account
    • View Profile
    • DeviantART
Re: Scripts! Moving Tex, Transparent, Glowy, Metallic and more!
« Reply #73 on: July 27, 2012, 02:56:18 pm »
Your coding is incorrect' let me fix it, do you want the full code for glowing?

This account is no longer in use, and any messages sent to here will not be read. If you need to reach me, head to https://softdiamond.net

Specialized in FeralHeart Maps,Presets,Objects,Mods,Markings,Textures and MORE.
Video Maker and more!

Anger

  • Guest
Re: Scripts! Moving Tex, Transparent, Glowy, Metallic and more!
« Reply #74 on: July 27, 2012, 03:00:53 pm »
Already thought I effed up somewhere... Sure.

Offline SilverTW

  • Finest Floof
  • ***
  • Posts: 855
  • Country: 00
  • Floof-O-Meter: 54
  • Inactive account
    • View Profile
    • DeviantART
Re: Scripts! Moving Tex, Transparent, Glowy, Metallic and more!
« Reply #75 on: July 27, 2012, 03:06:49 pm »
Code: [Select]
material preset_3_bodyMatL
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture anger_3body.PNG
}
}
pass
{
emissive 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture anger_3bodyglow.PNG
}
}
}
}
material preset_3_bodyMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture anger_3body.PNG
}
}
pass
{
emissive 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture anger_3bodyglow.PNG
}
}
}
}
material preset_3_headMatL
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture anger_3head.PNG
}
}
pass
{
emissive 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture anger_3headglow.PNG
}
}
}
}
material preset_3_headMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture anger_3head.PNG
}
}
pass
{
emissive 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture anger_3headglow.PNG
}
}

}
}
material preset_3_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture anger_3eye.PNG
}
}
}
}
material preset_3_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture anger_3eye.PNG
}
}
}
}
material preset_3_tailMat
{
technique
{
pass
{
ambient 0.5 0.5 0.5
texture_unit
{
texture anger_3tail.PNG
}
}
pass
{
emissive 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture anger_3tailglow.PNG
}
}
}
}
material preset_3_maneMat
{
technique
{
pass
{
ambient 0.5 0.5 0.5
cull_hardware none
cull_software none
scene_blend alpha_blend
alpha_rejection greater_equal 250
texture_unit
{
texture anger_3mane.PNG
}
}
}
}

Eyes don't glow BTW, They can't

This account is no longer in use, and any messages sent to here will not be read. If you need to reach me, head to https://softdiamond.net

Specialized in FeralHeart Maps,Presets,Objects,Mods,Markings,Textures and MORE.
Video Maker and more!

Anger

  • Guest
Re: Scripts! Moving Tex, Transparent, Glowy, Metallic and more!
« Reply #76 on: July 27, 2012, 03:13:24 pm »
That's a shame, it's my char's signature feature...
« Last Edit: August 04, 2012, 08:46:54 pm by Anger »

Offline SilverTW

  • Finest Floof
  • ***
  • Posts: 855
  • Country: 00
  • Floof-O-Meter: 54
  • Inactive account
    • View Profile
    • DeviantART
Re: Scripts! Moving Tex, Transparent, Glowy, Metallic and more!
« Reply #77 on: July 27, 2012, 03:14:17 pm »
That's a shame, it's my char's signature feature... Considering her eyes in demon form are the only things that don't consist of dark matter.

Just use full red & Nuzzle for you

This account is no longer in use, and any messages sent to here will not be read. If you need to reach me, head to https://softdiamond.net

Specialized in FeralHeart Maps,Presets,Objects,Mods,Markings,Textures and MORE.
Video Maker and more!

Anger

  • Guest
Re: Scripts! Moving Tex, Transparent, Glowy, Metallic and more!
« Reply #78 on: July 27, 2012, 03:16:34 pm »
I used the code you provided me with, and sadly enough everything except the eyes turned out yellow and black.

EDIT: Nevermind, files are named wrong. I noticed you made the body glow, I'll have to do with that.
« Last Edit: July 27, 2012, 03:19:39 pm by Anger »

Offline SilverTW

  • Finest Floof
  • ***
  • Posts: 855
  • Country: 00
  • Floof-O-Meter: 54
  • Inactive account
    • View Profile
    • DeviantART
Re: Scripts! Moving Tex, Transparent, Glowy, Metallic and more!
« Reply #79 on: July 27, 2012, 03:18:11 pm »
I used the code you provided me with, and sadly enough everything except the eyes turn out yellow and black.

That's because you need to change your image files to a .png & Change the name to whatever images your using & if you want a normal preset coding just use this for preset_7

Code: [Select]
material preset_7_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture body.png
}
}
}
}
material preset_7_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture body.png
}
}
}
}
material preset_7_headMatL
{
technique
{
pass
{
texture_unit
{
texture head.png
}
}
}
}
material preset_7_headMatR
{
technique
{
pass
{
texture_unit
{
texture head.png
}
}
}
}
material preset_7_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture eyes.png
}
}
}
}
material preset_7_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture eyes.png
}
}
}
}
material preset_7_tailMat
{
technique
{
pass
{
texture_unit
{
texture tail.png
}
}
}
}
material preset_7_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_7mane.png
}
}
}
}
[/color]

This account is no longer in use, and any messages sent to here will not be read. If you need to reach me, head to https://softdiamond.net

Specialized in FeralHeart Maps,Presets,Objects,Mods,Markings,Textures and MORE.
Video Maker and more!