sombreador

Abra el Inspector y cambie el sombreador a Transparent/Diffuse.
Open the Inspector and change the shader to Transparent/Diffuse.
En este tutorial, el sombreador de fragmentos es responsable de colorear el cuadrado.
In this tutorial, the fragment shader is responsible for coloring the square.
Usa glBindTexture para unir la textura (pasada como argumento al método de dibujo) con el sombreador de fragmentos.
Use glBindTexture to bind the texture (passed as an argument to the draw method) to the fragment shader.
Compatibilidad con sombreador de fragmento garantizada para búferes de almacenamiento de sombreador, imágenes y funciones atómicas (la compatibilidad con el sombreador de fragmentos es opcional en OpenGL ES 3.1).
Guaranteed fragment shader support for shader storage buffers, images, and atomics (Fragment shader support is optional in OpenGL ES 3.1.)
Aplicar matrices de proyección y de visualización de cámara: Para aplicar las transformaciones de proyección y vista de cámara, multiplica las matrices y luego establécelas en el sombreador de vértices.
Apply projection and camera viewing matrices - To apply the projection and camera view transformations, multiply the matrices together and then set them into the vertex shader.
Nota: En el ejemplo anterior, se define un miembro de matriz de transformación único en el sombreador de vértices en el que aplicas una matriz de proyección y una matriz de vista de cámara combinadas.
Note: The example above defines a single transformation matrix member in the vertex shader into which you apply a combined projection matrix and camera view matrix.
El sombreador de vértices es responsable de dibujar los vértices individuales.
The vertex shader is responsible for drawing the individual vertices.
Palabra del día
tallar