changed: gcc8 base update
[opensg.git] / Examples / CSM / Shader / Geometry / scene.osg
blobae3a5efe9a49cbbf80c1b584dd0e80d847eea7e4
1 #OSG V1.0 
3 Node
5   core MaterialGroup
6   {
7     material ChunkMaterial
8     {
9       chunks
10       [
11         SimpleSHLChunk
12         {
13           geometryInputType   GL_TRIANGLES
14           geometryOutputType  GL_TRIANGLE_STRIP
15           geometryVerticesOut 6
17           vertexShader 
18           [
19             ShaderProgramFile
20             {
21               shaderType GL_VERTEX_SHADER
23               programUrl "geo.vp"
24             }
25           ]
27           geometryShader 
28           [
29             ShaderProgramFile
30             {
31               shaderType GL_GEOMETRY_SHADER_EXT
33               programUrl "geo.gp"
34             }
35           ]
37           fragmentShader 
38           [
39             ShaderProgramFile
40             {
41               shaderType GL_FRAGMENT_SHADER
43               programUrl "geo.fp"
44             }
45           ]
46         }
47       ]
48     }
49   }
51   children
52   [
53     Node
54     {
55       core Inline
56       {
57         url "../../Models/teapot.wrl"
58       }
59     }
60   ]