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