Terrain Alphasplat Program         Terrain Alpha Splatting - program
Print

Be sure to change the source to whatever filename you gave your shader.

If you want to, you can convert it to hlsl simply by changing 'cg' to 'hlsl' and uncomment the target-lines and comment the profiles-lines.

vertex_program AlphaSplatTerrain/VP cg
{
    source AlphaSplatTerrain.cg
    entry_point TerrainVP
    //target vs_2_0
    profiles vs_2_0 arbvp1
}
 
fragment_program AlphaSplatTerrain/FP cg
{
    source AlphaSplatTerrain.cg
    entry_point TerrainFP
    //target ps_2_0
    profiles ps_2_0 arbfp1
}

 


Contributors to this page: jacmoe133512 points  and Spacegaier4386 points  .
Page last modified on Saturday 02 of January, 2010 07:36:51 UTC by jacmoe133512 points .


The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.