Add two more packages

- libthreejs: wrapper for Threejs library
- ShaderPlayground: openGL shader playground
This commit is contained in:
lxsang
2021-06-19 23:26:05 +02:00
parent 12f4c6d1b9
commit 916fd7b418
23 changed files with 1015 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# ShaderPlayground
Playground for working with Open GL shader language, the sharder is rendered
with the Three.js library
## Change logs
- v0.0.1-a: Initial version

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,52 @@
afx-app-window[data-id = "ShaderPlayground"] afx-tab-bar> afx-list-view ul afx-list-item:nth-child(even) li,
afx-app-window[data-id = "ShaderPlayground"] afx-tab-bar> afx-list-view > div.list-container > ul li{
background-color:#333333;
color:#afafaf;
border-radius: 0;
border: 0;
padding-top: 5px;
padding-bottom: 5px;
padding-right: 20px;
border-right: 1px solid #272822;
}
afx-app-window[data-id = "ShaderPlayground"] afx-tab-bar> afx-list-view ul afx-list-item:nth-child(even) li.selected,
afx-app-window[data-id = "ShaderPlayground"] afx-tab-bar> afx-list-view > div.list-container > ul > afx-list-item > li.selected{
background-color:#272822;
color:white;
border: 0;
border-radius: 0;
}
afx-app-window[data-id = "ShaderPlayground"] afx-shader-texture-item img{
width: 160px;
height: 82px;
object-fit: contain;
border: 1px solid tomato;
padding: 0;
margin: 0;
}
afx-app-window[data-id = "ShaderPlayground"] afx-shader-texture-item li{
width: 162px !important;
float: left;
background-color: transparent !important;
}
afx-app-window[data-id = "ShaderPlayground"] afx-shader-texture-item p{
padding:0;
margin: 0;
text-align: center;
background-color: tomato;
color: white;
width: 162px;
}
afx-app-window[data-id = "ShaderPlayground"] afx-vbox[data-id = "editor-wrapper"]{
background-color: #333333;
}
afx-app-window[data-id = "ShaderPlayground"] afx-shader-texture-item i.closable{
margin: 0px 15px 0px 0px;
}
afx-app-window[data-id = "ShaderPlayground"] afx-shader-texture-item i.closable::before
{
color: tomato;
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,16 @@
{
"pkgname": "ShaderPlayground",
"app":"ShaderPlayground",
"name":"OpenGL Shader Playground",
"description":"OpenGL Shader Playground",
"info":{
"author": "Xuan Sang LE",
"email": "mrsang@iohub.dev"
},
"version":"0.0.1-a",
"category":"Development",
"iconclass":"bi bi-lightbulb-fill",
"mimes":["none"],
"dependencies":["libthreejs@0.0.129-r"],
"locale": {}
}

View File

@ -0,0 +1,13 @@
<afx-app-window apptitle="OpenGL Shader Playground" width="600" height="400" data-id="ShaderPlayground">
<afx-hbox >
<afx-vbox data-id="editor-wrapper">
<afx-tab-bar data-id="tabbar" closable="false" data-height="27"></afx-tab-bar>
<div data-id="editor-container"></div>
<afx-list-view data-id="texture-list"></afx-list-view>
</afx-vbox>
<afx-resizer data-width="3"></afx-resizer>
<afx-vbox>
<canvas data-id="viewport"></canvas>
</afx-vbox>
</afx-hbox>
</afx-app-window>