We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16a965d commit d68d6bfCopy full SHA for d68d6bf
video-streaming/src/index.ts
@@ -24,12 +24,8 @@ export function main() {
24
const videoTexture = Material.Texture.Video({ videoPlayerEntity: screen })
25
26
// apply same video to second screen
27
- Material.setPbrMaterial(screen2, {
28
- texture: videoTexture,
29
- emissiveTexture: videoTexture,
30
- emissiveIntensity: 1,
31
- roughness: 0,
32
- metallic: 0
+ Material.setBasicMaterial(screen2, {
+ texture: videoTexture
33
})
34
35
pointerEventsSystem.onPointerDown(
0 commit comments