a few more improvements to the shadertest
This commit is contained in:
parent
91339544ab
commit
39219a6567
@ -109,10 +109,15 @@ PlasmaComponents.Page {
|
|||||||
bottomMargin: _s
|
bottomMargin: _s
|
||||||
|
|
||||||
}
|
}
|
||||||
text: { "void main(void) {\
|
// text: { "void main(void) {\
|
||||||
gl_FragColor = vec4(1.0, 0.0, 0.0, 0.3);\
|
// gl_FragColor = vec4(1.0, 0.0, 0.0, 0.3);\
|
||||||
}"
|
// }"
|
||||||
|
// }
|
||||||
|
text:"
|
||||||
|
void main(void) {
|
||||||
|
gl_FragColor = vec4(0.2, 0.8, 0.6, 0.3);
|
||||||
}
|
}
|
||||||
|
"
|
||||||
|
|
||||||
// width: parent.width
|
// width: parent.width
|
||||||
// parent.height-height: _h*2
|
// parent.height-height: _h*2
|
||||||
|
@ -46,6 +46,8 @@ Item {
|
|||||||
height: _h
|
height: _h
|
||||||
|
|
||||||
PlasmaComponents.TabButton { tab: wobbleExample; text: tab.pageName; }
|
PlasmaComponents.TabButton { tab: wobbleExample; text: tab.pageName; }
|
||||||
|
//PlasmaComponents.TabButton { tab: colorExample; text: tab.pageName; }
|
||||||
|
PlasmaComponents.TabButton { tab: colorShower; text: tab.pageName; }
|
||||||
PlasmaComponents.TabButton { tab: simpleExample; text: tab.pageName; }
|
PlasmaComponents.TabButton { tab: simpleExample; text: tab.pageName; }
|
||||||
PlasmaComponents.TabButton { tab: vertexPage; iconSource: vertexPage.icon; }
|
PlasmaComponents.TabButton { tab: vertexPage; iconSource: vertexPage.icon; }
|
||||||
}
|
}
|
||||||
@ -62,6 +64,12 @@ Item {
|
|||||||
WobbleExample {
|
WobbleExample {
|
||||||
id: wobbleExample
|
id: wobbleExample
|
||||||
}
|
}
|
||||||
|
ColorExample {
|
||||||
|
id: colorExample
|
||||||
|
}
|
||||||
|
ColorShower {
|
||||||
|
id: colorShower
|
||||||
|
}
|
||||||
SimpleExample {
|
SimpleExample {
|
||||||
id: simpleExample
|
id: simpleExample
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user