Open SRNV opened 4 years ago
v0.20.0
<template context="webgl2">
<scene>
<cube />
<mesh load="foo.obj" />
</scene>
</template>
maybe adding a program section to let the dev type the vertex shaders and the fragment shader.
I imagine implementing webxr would be possible too. Make me think of the aframe syntax.
Example of their helloworld :
<a-scene background="color: #ECECEC">
<a-box position="-1 0.5 -3" rotation="0 45 0" color="#4CC3D9" shadow></a-box>
<a-sphere position="0 1.25 -5" radius="1.25" color="#EF2D5E" shadow></a-sphere>
<a-cylinder position="1 0.75 -3" radius="0.5" height="1.5" color="#FFC65D" shadow></a-cylinder>
<a-plane position="0 0 -4" rotation="-90 0 0" width="4" height="4" color="#7BC8A4" shadow></a-plane>
</a-scene>
Webgl is not planned for v1.0.0 anymore ? It is the part I am the most interest, maybe I could help on this subject.
I imagine implementing webxr would be possible too. Make me think of the aframe syntax.
Example of their helloworld :
<a-scene background="color: #ECECEC"> <a-box position="-1 0.5 -3" rotation="0 45 0" color="#4CC3D9" shadow></a-box> <a-sphere position="0 1.25 -5" radius="1.25" color="#EF2D5E" shadow></a-sphere> <a-cylinder position="1 0.75 -3" radius="0.5" height="1.5" color="#FFC65D" shadow></a-cylinder> <a-plane position="0 0 -4" rotation="-90 0 0" width="4" height="4" color="#7BC8A4" shadow></a-plane> </a-scene>
Webgl is not planned for v1.0.0 anymore ? It is the part I am the most interest, maybe I could help on this subject.
This is still planned for 1.0 and required We can discuss on it in discord
And yeah WebXR would be neat also
v1: https://webglfundamentals.org/ v2: https://webgl2fundamentals.org/webgl/lessons/