2012-07-03 22:26:57 +00:00
|
|
|
material openmw_objects_base
|
|
|
|
{
|
|
|
|
diffuse 1.0 1.0 1.0 1.0
|
2013-03-05 12:51:48 +00:00
|
|
|
specular 0 0 0 0
|
2012-07-03 22:26:57 +00:00
|
|
|
ambient 1.0 1.0 1.0
|
|
|
|
emissive 0.0 0.0 0.0
|
2013-03-05 12:51:48 +00:00
|
|
|
vertmode 0
|
2012-07-03 22:26:57 +00:00
|
|
|
diffuseMap black.png
|
2013-04-03 15:16:34 +00:00
|
|
|
normalMap
|
2013-04-03 16:51:40 +00:00
|
|
|
emissiveMap
|
|
|
|
use_emissive_map false
|
|
|
|
emissiveMapUVSet 0
|
2012-07-04 22:39:25 +00:00
|
|
|
|
2012-07-04 14:57:14 +00:00
|
|
|
is_transparent false // real transparency, alpha rejection doesn't count here
|
2012-07-04 22:39:25 +00:00
|
|
|
scene_blend default
|
2012-07-06 23:25:14 +00:00
|
|
|
depth_write default
|
2013-04-05 16:23:22 +00:00
|
|
|
depth_check default
|
2012-07-06 02:28:08 +00:00
|
|
|
alpha_rejection default
|
2013-03-05 16:09:20 +00:00
|
|
|
transparent_sorting default
|
2012-07-03 22:26:57 +00:00
|
|
|
|
|
|
|
pass
|
|
|
|
{
|
|
|
|
vertex_program openmw_objects_vertex
|
|
|
|
fragment_program openmw_objects_fragment
|
|
|
|
|
2012-07-06 02:28:08 +00:00
|
|
|
shader_properties
|
|
|
|
{
|
2013-03-05 12:51:48 +00:00
|
|
|
vertexcolor_mode $vertmode
|
2012-07-06 02:28:08 +00:00
|
|
|
is_transparent $is_transparent
|
2013-04-03 15:16:34 +00:00
|
|
|
normalMap $normalMap
|
2013-04-03 16:51:40 +00:00
|
|
|
emissiveMapUVSet $emissiveMapUVSet
|
|
|
|
emissiveMap $emissiveMap
|
2012-07-06 02:28:08 +00:00
|
|
|
}
|
|
|
|
|
2012-07-03 22:26:57 +00:00
|
|
|
diffuse $diffuse
|
|
|
|
specular $specular
|
|
|
|
ambient $ambient
|
|
|
|
emissive $emissive
|
2012-07-06 02:28:08 +00:00
|
|
|
scene_blend $scene_blend
|
|
|
|
alpha_rejection $alpha_rejection
|
2012-07-06 23:25:14 +00:00
|
|
|
depth_write $depth_write
|
2013-04-05 16:23:22 +00:00
|
|
|
depth_check $depth_check
|
2013-03-05 16:09:20 +00:00
|
|
|
transparent_sorting $transparent_sorting
|
2012-07-03 22:26:57 +00:00
|
|
|
|
|
|
|
texture_unit diffuseMap
|
|
|
|
{
|
2012-07-06 08:31:48 +00:00
|
|
|
direct_texture $diffuseMap
|
2012-07-03 22:26:57 +00:00
|
|
|
create_in_ffp true
|
2013-04-03 16:51:40 +00:00
|
|
|
tex_coord_set $emissiveMapUVSet
|
2012-07-03 22:26:57 +00:00
|
|
|
}
|
2013-04-03 15:16:34 +00:00
|
|
|
|
|
|
|
texture_unit normalMap
|
|
|
|
{
|
|
|
|
direct_texture $normalMap
|
|
|
|
}
|
2013-04-03 16:51:40 +00:00
|
|
|
|
|
|
|
texture_unit emissiveMap
|
|
|
|
{
|
|
|
|
create_in_ffp $use_emissive_map
|
|
|
|
colour_op add
|
|
|
|
direct_texture $emissiveMap
|
|
|
|
tex_coord_set $emissiveMapUVSet
|
|
|
|
}
|
2012-07-09 22:07:33 +00:00
|
|
|
|
|
|
|
texture_unit shadowMap0
|
|
|
|
{
|
|
|
|
content_type shadow
|
|
|
|
tex_address_mode clamp
|
|
|
|
filtering none
|
|
|
|
}
|
|
|
|
texture_unit shadowMap1
|
|
|
|
{
|
|
|
|
content_type shadow
|
|
|
|
tex_address_mode clamp
|
|
|
|
filtering none
|
|
|
|
}
|
|
|
|
texture_unit shadowMap2
|
|
|
|
{
|
|
|
|
content_type shadow
|
|
|
|
tex_address_mode clamp
|
|
|
|
filtering none
|
|
|
|
}
|
2012-07-03 22:26:57 +00:00
|
|
|
}
|
|
|
|
}
|