okay. for the metallic Script. I want to make it metallic for the teeth, but not the eyes
material preset_1_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 EyeTexture.png env_map spherical } } pass { ambient 0.8 0.9 0.9 specular 1.0 1.0 1.0 128 emissive 1.0 1.0 1.0 cull_hardware none cull_software none scene_blend alpha_blend alpha_rejection greater_equal 120 texture_unit { texture OnlyTeeth.png env_map spherical } } }}
Quote from: Royaldog12 on November 26, 2017, 06:34:07 amokay. for the metallic Script. I want to make it metallic for the teeth, but not the eyesPlease don't necro old threads.To make only the teeth shiny, you'll need to put the teeth(And only the teeth) on a different layer, then add the metallic code to the layer with the teeth.Here's code that'll help you with layers:Click button to see code Code: [Select]material preset_1_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 EyeTexture.png env_map spherical } } pass { ambient 0.8 0.9 0.9 specular 1.0 1.0 1.0 128 emissive 1.0 1.0 1.0 cull_hardware none cull_software none scene_blend alpha_blend alpha_rejection greater_equal 120 texture_unit { texture OnlyTeeth.png env_map spherical } } }}
material preset_#_eyeMat{ 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 MetalTexture.png env_map spherical } }pass{ambient 1.000000 1.000000 1.000000 1.000000diffuse 1.000000 1.000000 1.000000 1.000000specular 0.050000 0.050000 0.050000 1.000000 12.500000emissive 0.000000 0.000000 0.000000 1.000000cull_hardware nonecull_software nonealpha_rejection greater_equal 128scene_blend alpha_blendtexture_unit{texture EyeTexture.pngtex_address_mode wrapfiltering trilinear} } } }}