etshader.program

来自「etm2.2是基于Ogre引擎开发的地形库」· PROGRAM 代码 · 共 47 行

PROGRAM
47
字号
fragment_program ET/Programs/PSSplat cg
{
  source PSSplat.cg
  entry_point main
  profiles ps_1_1 arbfp1
}

fragment_program ET/Programs/PSSplat2 cg
{
  source PSSplat2.cg
  entry_point main
  profiles ps_2_0 arbfp1
}

fragment_program ET/Programs/PSLighting cg
{
  source PSLighting.cg
  entry_point main
  profiles ps_1_1 arbfp1
}

vertex_program ET/Programs/VSLodMorph cg
{
  source VSLodMorph.cg
  entry_point terrain_vp
  profiles vs_1_1 arbvp1
  
  default_params
  {
    param_named_auto morphFactor custom 77
    param_named_auto worldViewProj worldviewproj_matrix
  }
}

vertex_program ET/Programs/VSLodMorph2 cg
{
  source VSLodMorph.cg
  entry_point terrain_vp
  profiles vs_1_1 arbvp1
  
  default_params
  {
    param_named_auto morphFactor custom 77
    param_named_auto worldViewProj worldviewproj_matrix
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?