repo.or.cz
/
opensg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
changed: gcc8 base update
[opensg.git]
/
Examples
/
CSM
/
Shader
/
Geometry
/
scene.osg
blob
ae3a5efe9a49cbbf80c1b584dd0e80d847eea7e4
1
#OSG V1.0
2
3
Node
4
{
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
16
17
vertexShader
18
[
19
ShaderProgramFile
20
{
21
shaderType GL_VERTEX_SHADER
22
23
programUrl "geo.vp"
24
}
25
]
26
27
geometryShader
28
[
29
ShaderProgramFile
30
{
31
shaderType GL_GEOMETRY_SHADER_EXT
32
33
programUrl "geo.gp"
34
}
35
]
36
37
fragmentShader
38
[
39
ShaderProgramFile
40
{
41
shaderType GL_FRAGMENT_SHADER
42
43
programUrl "geo.fp"
44
}
45
]
46
}
47
]
48
}
49
}
50
51
children
52
[
53
Node
54
{
55
core Inline
56
{
57
url "../../Models/teapot.wrl"
58
}
59
}
60
]
61
}