2012-07-03 22:26:57 +00:00
|
|
|
material openmw_objects_base
|
|
|
|
{
|
|
|
|
diffuse 1.0 1.0 1.0 1.0
|
2013-12-03 15:07:07 +00:00
|
|
|
specular 0 0 0 0 1
|
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
|
2014-01-07 17:05:44 +00:00
|
|
|
specMap
|
2013-12-24 01:40:55 +00:00
|
|
|
darkMap
|
2013-04-03 16:51:40 +00:00
|
|
|
use_emissive_map false
|
2013-04-08 13:17:30 +00:00
|
|
|
use_detail_map false
|
2013-12-24 00:29:42 +00:00
|
|
|
use_diffuse_map false
|
2013-12-24 01:40:55 +00:00
|
|
|
use_dark_map false
|
2013-04-03 16:51:40 +00:00
|
|
|
emissiveMapUVSet 0
|
2013-04-08 13:17:30 +00:00
|
|
|
detailMapUVSet 0
|
2013-12-24 00:29:42 +00:00
|
|
|
diffuseMapUVSet 0
|
2013-12-24 01:40:55 +00:00
|
|
|
darkMapUVSet 0
|
2013-12-05 14:45:39 +00:00
|
|
|
use_parallax false
|
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
|
2013-04-07 14:38:43 +00:00
|
|
|
polygon_mode default
|
2013-11-19 23:07:26 +00:00
|
|
|
env_map false
|
|
|
|
env_map_color 1 1 1
|
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
|
2013-04-03 15:16:34 +00:00
|
|
|
normalMap $normalMap
|
2013-04-03 16:51:40 +00:00
|
|
|
emissiveMapUVSet $emissiveMapUVSet
|
2013-04-08 13:17:30 +00:00
|
|
|
detailMapUVSet $detailMapUVSet
|
2013-12-24 00:29:42 +00:00
|
|
|
diffuseMapUVSet $diffuseMapUVSet
|
2013-12-24 01:40:55 +00:00
|
|
|
darkMapUVSet $darkMapUVSet
|
2013-04-03 16:51:40 +00:00
|
|
|
emissiveMap $emissiveMap
|
2013-04-08 13:17:30 +00:00
|
|
|
detailMap $detailMap
|
2013-12-24 00:29:42 +00:00
|
|
|
diffuseMap $diffuseMap
|
2014-01-07 17:05:44 +00:00
|
|
|
specMap $specMap
|
2013-12-24 01:40:55 +00:00
|
|
|
darkMap $darkMap
|
2013-11-19 23:07:26 +00:00
|
|
|
env_map $env_map
|
|
|
|
env_map_color $env_map_color
|
2013-12-05 14:45:39 +00:00
|
|
|
use_parallax $use_parallax
|
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
|
2013-04-07 14:38:43 +00:00
|
|
|
polygon_mode $polygon_mode
|
2012-07-03 22:26:57 +00:00
|
|
|
|
|
|
|
texture_unit diffuseMap
|
|
|
|
{
|
2012-07-06 08:31:48 +00:00
|
|
|
direct_texture $diffuseMap
|
2013-12-24 00:29:42 +00:00
|
|
|
create_in_ffp $use_diffuse_map
|
|
|
|
tex_coord_set $diffuseMapUVSet
|
2012-07-03 22:26:57 +00:00
|
|
|
}
|
2013-04-03 15:16:34 +00:00
|
|
|
|
|
|
|
texture_unit normalMap
|
|
|
|
{
|
2013-04-12 02:36:28 +00:00
|
|
|
direct_texture $normalMap
|
|
|
|
// force automips here for now
|
|
|
|
num_mipmaps 4
|
2013-04-03 15:16:34 +00:00
|
|
|
}
|
2013-04-03 16:51:40 +00:00
|
|
|
|
2013-12-24 01:40:55 +00:00
|
|
|
texture_unit darkMap
|
2013-04-03 16:51:40 +00:00
|
|
|
{
|
2013-12-24 01:40:55 +00:00
|
|
|
create_in_ffp $use_dark_map
|
|
|
|
colour_op_ex modulate src_current src_texture
|
|
|
|
alpha_op_ex modulate src_current src_texture
|
|
|
|
direct_texture $darkMap
|
|
|
|
tex_coord_set $darkMapUVSet
|
2013-04-03 16:51:40 +00:00
|
|
|
}
|
2013-04-08 13:17:30 +00:00
|
|
|
|
|
|
|
texture_unit detailMap
|
|
|
|
{
|
|
|
|
create_in_ffp $use_detail_map
|
|
|
|
colour_op_ex modulate_x2 src_current src_texture
|
|
|
|
direct_texture $detailMap
|
|
|
|
tex_coord_set $detailMapUVSet
|
|
|
|
}
|
2013-11-19 23:07:26 +00:00
|
|
|
|
2013-12-24 01:40:55 +00:00
|
|
|
texture_unit emissiveMap
|
|
|
|
{
|
|
|
|
create_in_ffp $use_emissive_map
|
|
|
|
colour_op add
|
|
|
|
direct_texture $emissiveMap
|
|
|
|
tex_coord_set $emissiveMapUVSet
|
|
|
|
}
|
|
|
|
|
2013-11-19 23:07:26 +00:00
|
|
|
texture_unit envMap
|
|
|
|
{
|
|
|
|
create_in_ffp $env_map
|
|
|
|
env_map spherical
|
|
|
|
anim_texture2 textures\magicitem\caust.dds 32 2
|
|
|
|
colour_op add
|
|
|
|
}
|
2014-01-07 17:05:44 +00:00
|
|
|
|
|
|
|
texture_unit specMap
|
|
|
|
{
|
|
|
|
direct_texture $specMap
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
}
|