Feral Heart

Help & Guidance => Game Help => Topic started by: SenseiRei on February 23, 2018, 04:57:55 am

Title: Adding ENB to presets
Post by: SenseiRei on February 23, 2018, 04:57:55 am
I figured out to add ENB to the presets, but it seems to only work on NON-SCRIPTED presets.
 So... i want to add the ENB to my scripted presets, but the areas where its scripted come out just black...
If anyone is an expert in this area, think they want to lend a helping paw?

Heres one of the ones i been working on. this is the one that runs the ENB but scripts are black/not showing
Code: [Select]
material preset_3_bodyMatL
{
 technique
 {
pass
{
                        shading phong

                        ambient 0.6 0.6 0.6 1
specular 0 0 0 0 128
texture_unit
{
texture ReiBody.png
}
  pass
  {
     ambient 0.2 0.2 0.2 1.0
     diffuse 1.000000 1.000000 1.000000 1.000000
     specular 0.100 0.100 0.100 4
     emissive 0.000000 0.000000 0.000000 1.000000
     cull_hardware none
     cull_software none
     scene_blend alpha_blend
     alpha_rejection greater_equal 120
     texture_unit
    {
     texture Black.png
     env_map spherical
    }

   }
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
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture ReiBody.png
tex_address_mode wrap
filtering trilinear
  }
}
}
}
material preset_3_bodyMatR
{
 technique
 {
pass
{
                        shading phong

                        ambient 0.6 0.6 0.6 1
specular 0 0 0 0 128
texture_unit
{
texture ReiBody.png
}
  pass
  {
     ambient 0.2 0.2 0.2 1.0
     diffuse 1.000000 1.000000 1.000000 1.000000
     specular 0.100 0.100 0.100 4
     emissive 0.000000 0.000000 0.000000 1.000000
     cull_hardware none
     cull_software none
     scene_blend alpha_blend
     alpha_rejection greater_equal 120
     texture_unit
    {
     texture Black.png
     env_map spherical
    }

   }
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
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture ReiBody.png
tex_address_mode wrap
filtering trilinear
  }
}
}
}
material preset_3_headMatL
{
technique
{
pass
{
                        shading phong

                        ambient 0.6 0.6 0.6 1
specular 0 0 0 0 128
texture_unit
{
texture ReiheadR.jpg
}
}
}
}
material preset_3_headMatR
{
technique
{
pass
{
                        shading phong

                        ambient 0.6 0.6 0.6 1
specular 0 0 0 0 128
texture_unit
{
texture ReiheadR.jpg
}
}
}
}
material preset_3_eyeMatL
{
 technique
 {
  pass
  {
     ambient 0.2 0.2 0.2 1.0
     diffuse 1.000000 1.000000 1.000000 1.000000
     specular 0.100 0.100 0.100 4
     emissive 0.000000 0.000000 0.000000 1.000000
     cull_hardware none
     cull_software none
     scene_blend alpha_blend
     alpha_rejection greater_equal 120
     texture_unit
    {
     texture Brass.png
     env_map spherical
    }

   }
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
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture Reieye.png
tex_address_mode wrap
filtering trilinear
}
   }
 }
  }
}
material preset_3_eyeMatR
{
 technique
 {
  pass
  {
     ambient 0.2 0.2 0.2 1.0
     diffuse 1.000000 1.000000 1.000000 1.000000
     specular 0.100 0.100 0.100 4
     emissive 0.000000 0.000000 0.000000 1.000000
     cull_hardware none
     cull_software none
     scene_blend alpha_blend
     alpha_rejection greater_equal 120
     texture_unit
    {
     texture Brass.png
     env_map spherical
    }

   }
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
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture Reieye.png
tex_address_mode wrap
filtering trilinear
}
   }
 }
  }
}

material preset_3_tailMat
{
technique
{
pass
{
  shading phong

                        ambient 0.6 0.6 0.6 1
specular 0 0 0 0 128
texture_unit
{
texture Reitail.jpg
}
}
}
}
material preset_3_maneMat
{
technique
{
pass
{
shading phong
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture Reimane.png
}
}
}
}
Title: Re: Adding ENB to presets
Post by: FlyingGrass on February 23, 2018, 06:55:20 am
Screenshot/s please? I might get an idea of what an ENB script is when I see what parts are affected.
Title: Re: Adding ENB to presets
Post by: Valar.Morghulis on February 23, 2018, 08:12:32 am
Yeah, do you have any screenshots? I'd love to see an example of this! :)
Title: Re: Adding ENB to presets
Post by: SenseiRei on February 23, 2018, 08:33:04 am
(https://img00.deviantart.net/608e/i/2018/054/d/c/figuring_enb_script_w__other_scripts_by_royaldog12serrorlogs-dc41b4z.png)