1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

120 lines
2.1 KiB
Plaintext
Raw Normal View History

2012-07-05 00:39:25 +02:00
material openmw_moon
{
2012-07-06 10:31:48 +02:00
mrt_output true
2012-07-05 00:39:25 +02:00
pass
{
vertex_program moon_vertex
fragment_program moon_fragment
2012-07-06 10:31:48 +02:00
polygon_mode_overrideable off
shader_properties
{
mrt_output $mrt_output
}
2012-07-05 00:39:25 +02:00
texture_unit diffuseMap
{
texture $diffuseMap
create_in_ffp true
}
}
}
material openmw_clouds
{
2012-07-06 10:31:48 +02:00
mrt_output true
2012-07-05 00:39:25 +02:00
pass
{
vertex_program clouds_vertex
fragment_program clouds_fragment
2012-07-06 10:31:48 +02:00
polygon_mode_overrideable off
scene_blend alpha_blend
depth_write off
shader_properties
{
mrt_output $mrt_output
}
2012-07-05 00:39:25 +02:00
// second diffuse map is used for weather transitions
texture_unit diffuseMap1
{
texture $diffuseMap1
create_in_ffp true
}
texture_unit diffuseMap2
{
texture $diffuseMap2
}
}
}
material openmw_atmosphere
{
2012-07-06 10:31:48 +02:00
mrt_output true
2012-07-05 00:39:25 +02:00
pass
{
vertex_program atmosphere_vertex
fragment_program atmosphere_fragment
2012-07-06 10:31:48 +02:00
polygon_mode_overrideable off
scene_blend alpha_blend
depth_write off
shader_properties
{
mrt_output $mrt_output
}
2012-07-05 00:39:25 +02:00
}
}
material openmw_stars
{
2012-07-06 10:31:48 +02:00
mrt_output true
2012-07-05 00:39:25 +02:00
pass
{
vertex_program stars_vertex
fragment_program stars_fragment
2012-07-06 10:31:48 +02:00
polygon_mode_overrideable off
shader_properties
{
mrt_output $mrt_output
}
2012-07-05 00:39:25 +02:00
texture_unit diffuseMap
{
diffuseMap $diffuseMap
}
}
}
// used for both sun and sun glare
material openmw_sun
{
2012-07-06 10:31:48 +02:00
mrt_output true
2012-07-05 00:39:25 +02:00
pass
{
vertex_program sun_vertex
fragment_program sun_fragment
2012-07-06 10:31:48 +02:00
polygon_mode_overrideable off
shader_properties
{
mrt_output $mrt_output
}
2012-07-05 00:39:25 +02:00
texture unit diffuseMap
{
diffuseMap $diffuseMap
}
}
}