1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00
OpenMW/files/materials/objects.mat
2012-07-05 00:39:25 +02:00

42 lines
1016 B
Plaintext

material openmw_objects_base
{
diffuse 1.0 1.0 1.0 1.0
specular 0.4 0.4 0.4 32
ambient 1.0 1.0 1.0
emissive 0.0 0.0 0.0
has_vertex_colour false
diffuseMap black.png
fog true
is_transparent false // real transparency, alpha rejection doesn't count here
scene_blend default
alpha_rejection_value default
alpha_rejection_func default
pass
{
vertex_program openmw_objects_vertex
fragment_program openmw_objects_fragment
diffuse $diffuse
specular $specular
ambient $ambient
emissive $emissive
fog $fog
ffp_vertex_colour_ambient $has_vertex_colour
has_vertex_colour $has_vertex_colour
is_transparent $is_transparent
scene_blend $scene_blend
alpha_rejection_value $alpha_rejection_value
alpha_rejection_func $alpha_rejection_func
texture_unit diffuseMap
{
texture $diffuseMap
create_in_ffp true
}
}
}