Terrain Alphasplat Program
Terrain Alpha Splatting - program
Welcome to the new Ogre Wiki!
If you haven't done so already, be sure to visit the Wiki Portal to read about how the wiki works. Especially the Ogre Wiki Overview page.
If you haven't done so already, be sure to visit the Wiki Portal to read about how the wiki works. Especially the Ogre Wiki Overview page.
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: jacmoe
and
Spacegaier
.
Page last modified on Saturday 02 of January, 2010 07:36:51 UTC by jacmoe
.
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.
Sidebar
Search box
Online users
44
online users

