mirror of
https://github.com/lxsang/Diya-API.git
synced 2024-12-28 12:28:21 +01:00
19 lines
278 B
Smalltalk
19 lines
278 B
Smalltalk
Class {
|
|
#name : #DiyaDefaultShader,
|
|
#superclass : #OpenGLSL,
|
|
#category : #'Diya-Shaders'
|
|
}
|
|
|
|
{ #category : #accessing }
|
|
DiyaDefaultShader class >> fragmentShader [
|
|
^ '
|
|
#ifdef GL_ES
|
|
precision mediump float;
|
|
#endif
|
|
void main()
|
|
{
|
|
gl_FragColor = vec4(1.0,1.0,1.0,1.0);
|
|
}
|
|
'
|
|
]
|