mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 03:39:14 +00:00
64 lines
848 B
Plaintext
64 lines
848 B
Plaintext
vertex_program RenderGBuffer_vs cg
|
|
{
|
|
source gbuffer.cg
|
|
profiles vs_4_0 vs_1_1 arbvp1
|
|
entry_point RenderScene_vs
|
|
default_params
|
|
{
|
|
param_named_auto wvp worldviewproj_matrix
|
|
}
|
|
}
|
|
fragment_program RenderGBuffer_ps cg
|
|
{
|
|
source gbuffer.cg
|
|
entry_point RenderScene_ps
|
|
profiles ps_4_0 ps_2_x arbfp1
|
|
default_params
|
|
{
|
|
}
|
|
}
|
|
material RenderScene
|
|
{
|
|
technique
|
|
{
|
|
pass
|
|
{
|
|
vertex_program_ref RenderGBuffer_vs
|
|
{
|
|
}
|
|
|
|
fragment_program_ref RenderGBuffer_ps
|
|
{
|
|
}
|
|
|
|
texture_unit tex1
|
|
{
|
|
//scenebuffer
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
material RenderSceneNoDepth
|
|
{
|
|
technique
|
|
{
|
|
pass
|
|
{
|
|
depth_write off
|
|
vertex_program_ref RenderGBuffer_vs
|
|
{
|
|
}
|
|
|
|
fragment_program_ref RenderGBuffer_ps
|
|
{
|
|
}
|
|
|
|
texture_unit tex1
|
|
{
|
|
//scenebuffer
|
|
}
|
|
}
|
|
}
|
|
}
|