changed: gcc8 base update
[opensg.git] / Examples / CSM / Shader / BumpMap / scene.osg
blob45b958cc9df85cc3e9cf4cc7604dc5cd8ce91a77
1 #OSG V1.0 
3 Node
5   core MaterialGroup
6   {
7     material ChunkMaterial
8     {
9       chunks
10       [
11         TextureObjChunk
12         {
13           image ImageFile
14           {
15             url "opensg_logoDOT3.png"
16           }
18           minFilter GL_LINEAR_MIPMAP_LINEAR
19           magFilter GL_LINEAR
20           wrapS     GL_REPEAT
21           wrapT     GL_REPEAT
22         }
24         TextureEnvChunk
25         {
26           envMode GL_MODULATE
27         }
29         SimpleSHLChunk
30         {
31           variables ShaderProgramVariables
32           {
33             variables
34             [
35               ShaderVariableInt
36               {
37                 name "sampler2d"
38                 value 0
39               }
40             ]
41           }
43           vertexShader 
44           [
45             ShaderProgramFile
46             {
47               shaderType GL_VERTEX_SHADER
49               programUrl "bump.vp"
50             }
51           ]
53           fragmentShader 
54           [
55             ShaderProgramFile
56             {
57               shaderType GL_FRAGMENT_SHADER
59               programUrl "bump.fp"
60             }
61           ]
62         }
63       ]
64     }
65   }
67   children
68   [
69     Node
70     {
71       core Inline
72       {
73         url "../../Models/plane.wrl"
74       }
75     }
76   ]