diff --git a/examples/ex/texture/video/videoGlowMap.html b/examples/ex/texture/video/videoGlowMap.html index f96c0cf3..5bf8779a 100644 --- a/examples/ex/texture/video/videoGlowMap.html +++ b/examples/ex/texture/video/videoGlowMap.html @@ -40,35 +40,28 @@ nodes:[ { - type:"lookAt", - eye:{ z:5 }, - + type:"material", + color:{ r:1.0, g:1.0, b:1.0 }, + emit:1.0, nodes:[ { - type:"material", - color:{ r:1.0, g:1.0, b:1.0 }, - emit:1.0, + type:"texture", + id:"theTexture", + layers:[ + { + source:{ + type:"video", + src:"../../../movies/testVideo.ogv" + }, + applyTo:"emit" + } + ], nodes:[ { - type:"texture", - id:"theTexture", - layers:[ - { - source:{ - type:"video", - src:"../../../movies/testVideo.ogv" - }, - applyTo:"emit" - } - ], - nodes:[ - { - type:"geometry", - source:{ - type:"box" - } - } - ] + type:"geometry", + source:{ + type:"box" + } } ] } diff --git a/examples/ex/texture/video/videoSpecularMap.html b/examples/ex/texture/video/videoSpecularMap.html index cea759c3..c3f6ecd6 100644 --- a/examples/ex/texture/video/videoSpecularMap.html +++ b/examples/ex/texture/video/videoSpecularMap.html @@ -42,49 +42,42 @@ diffuse:true, specular:true, dir:{ x:0.5, y:0.5, z:-1.0 }, - space: "view" + space:"view" } ], nodes:[ { - type:"lookAt", - eye:{ z:5 }, - + type:"flags", + flags:{ + transparent:true + }, nodes:[ { - type:"flags", - flags:{ - transparent:true - }, + type:"material", + color:{ r:0.5, g:0.5, b:0.6 }, + specularColor:{ r:0.7, g:0.7, b:0.8 }, + specular:10.0, + shine:5.0, nodes:[ { - type:"material", - color:{ r:0.5, g:0.5, b:0.6 }, - specularColor:{ r:0.7, g:0.7, b:0.8 }, - specular:10.0, - shine:5.0, + type:"texture", + id:"theTexture", + layers:[ + { + source:{ + type:"video", + src:"../../../movies/testVideo.ogv" + }, + applyTo:"specular" + } + ], nodes:[ { - type:"texture", - id:"theTexture", - layers:[ - { - source:{ - type:"video", - src:"../../../movies/testVideo.ogv" - }, - applyTo:"specular" - } - ], - nodes:[ - { - type:"geometry", - source:{ - type:"box" - } - } - ] + type:"geometry", + source:{ + type:"box" + } } ] }