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