changed: gcc8 base update
[opensg.git] / Examples / CSM / SimpleVariantMat-Par / scene.osg
blob10188d1df9f9f2117db9f70be4d4398a4d6f891b
1 #OSG V1.0 
3 Node
5   core MaterialGroup
6   {
7     material VariantMaterial
8     {
9       materialStore
10       [
11         MapHelper
12         {
13           keys
14           [
15             "OGLFixedFunc@"
16           ]
17           container ChunkMaterial
18           {
19             chunks
20             [
21               MaterialChunk  
22               { 
23                 diffuse      0.8 0.0 0.0 1.0
24                 ambient      0.0 0.0 0.0 1.0
25                 specular     0.0 0.0 0.0 1.0
26                 shininess    0.4
27               }
28             ]
29           }
30         }
32         MapHelper
33         {
34           keys
35           [
36             "OGLShader@"
37           ]
38           container ChunkMaterial
39           {
40             chunks
41             [
42               MaterialChunk  
43               { 
44                 diffuse      0.0 0.8 0.0 1.0
45                 ambient      0.0 0.0 0.0 1.0
46                 specular     0.0 0.0 0.0 1.0
47                 shininess    0.4
48               }
49             ]
50           }
51         }
52       ]
53       
54       fallbackMaterial ChunkMaterial
55       {
56         chunks
57         [
58           MaterialChunk  
59           { 
60             diffuse      0.0 0.0 0.8 1.0
61             ambient      0.0 0.0 0.0 1.0
62             specular     0.0 0.0 0.0 1.0
63             shininess    0.4
64           }
65         ]
66       }
67     }
68   }
70   children
71   [
72     Node
73     {
74       core Inline
75       {
76         url "../Models/teapot.wrl"
77       }
78     }
79   ]