Skip to content

Instantly share code, notes, and snippets.

Last active Jul 18, 2017
What would you like to do?
A-Frame Demo: Umgang mit Lichtern
<!DOCTYPE html>
<title>A-Frame-Demo 2</title>
<meta name="description" content="Verschiedene Lichter in der Szene.">
<meta charset="utf-8">
<script src=""></script>
<a-entity light="type: point; color: #FFF; intensity: 0.6" position="0 0.5 -3.0"></a-entity>
<a-entity light="type: spot; angle:13; penumbra: 0.1; color: #FFF; intensity: 1.0" position="0 1 3"></a-entity>
<a-box position="-1 0.5 -3" rotation="0 45 0" color="#00538F"></a-box>
<a-sphere position="0 1.25 -5" radius="1.25" color="#008b45"></a-sphere>
<a-cylinder position="1 0.75 -3" radius="0.5" height="1.5" color="#a52a2a"></a-cylinder>
<a-text value="Hallo VR-Welt!" color="red" position="0.1 0.2 -2.1"></a-text>
<a-plane position="0 0 -4" rotation="-90 0 0" width="4" height="4" color="#666"></a-plane>
<a-sky color="#111111"></a-sky>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment