transparency
parent
19ecc7f890
commit
9bd888d9a1
@ -1 +1 @@
|
||||
Subproject commit 6080431c8ce37c6044dd7d1e319de3c7b8adfd69
|
||||
Subproject commit 3a1b8e2aefa746ef0922e78f4be3ff736ce92fc3
|
@ -0,0 +1,73 @@
|
||||
material openmw_moon
|
||||
{
|
||||
pass
|
||||
{
|
||||
vertex_program moon_vertex
|
||||
fragment_program moon_fragment
|
||||
|
||||
texture_unit diffuseMap
|
||||
{
|
||||
texture $diffuseMap
|
||||
create_in_ffp true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
material openmw_clouds
|
||||
{
|
||||
pass
|
||||
{
|
||||
vertex_program clouds_vertex
|
||||
fragment_program clouds_fragment
|
||||
|
||||
// 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
|
||||
{
|
||||
pass
|
||||
{
|
||||
vertex_program atmosphere_vertex
|
||||
fragment_program atmosphere_fragment
|
||||
}
|
||||
}
|
||||
|
||||
material openmw_stars
|
||||
{
|
||||
pass
|
||||
{
|
||||
vertex_program stars_vertex
|
||||
fragment_program stars_fragment
|
||||
|
||||
texture_unit diffuseMap
|
||||
{
|
||||
diffuseMap $diffuseMap
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// used for both sun and sun glare
|
||||
material openmw_sun
|
||||
{
|
||||
pass
|
||||
{
|
||||
vertex_program sun_vertex
|
||||
fragment_program sun_fragment
|
||||
|
||||
texture unit diffuseMap
|
||||
{
|
||||
diffuseMap $diffuseMap
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
// note: the fixed function water is created manually, not here
|
||||
|
||||
material openmw_water
|
||||
{
|
||||
pass
|
||||
{
|
||||
vertex_program water_vertex
|
||||
fragment_program water_fragment
|
||||
|
||||
texture_unit reflectionMap
|
||||
{
|
||||
texture_alias WaterReflection
|
||||
}
|
||||
|
||||
texture_unit refractionMap
|
||||
{
|
||||
texture_alias WaterRefraction
|
||||
}
|
||||
|
||||
texture_unit depthMap
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
texture_unit normalMap
|
||||
{
|
||||
texture
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue