shader
- Examples
Posee un entorno de desarrollo integrado para autoría de shader. | It has an integrated development environment for shader authoring. |
El método devuelve un entero que sirve como referencia al objeto shader. | The method returns an integer that serves as a reference to the shader object. |
Luego, utiliza otro vertex shader para aplicarle iluminación. | Then, another vertex shader it is used to apply lighting to it. |
También aprovecha el shader para crear el torus revolucionando una forma plana. | Also it takes advantage of the shader to create the torus revolutionizing a flat form. |
Para adjuntar los objetos shader vertex y fragment a este, usa el método glAttachShader(). | To attach the vertex and fragment shader objects to it, use the glAttachShader() method. |
Está especialmente diseñado como un shader! | It is specially designed as a shader! |
El fragment shader simplemente pasa el valor recibido para que sea dibujado. | The fragment shader simply passes the received value to the next step in the render pipeline. |
Un fragment shader, también llamado pixel shader, es responsable de colorear los pixeles del objeto 3D. | A fragment shader, also called a pixel shader, is responsible for coloring the 3D object's pixels. |
Utiliza glCreateShader para crear un objeto shader y devolverle una referencia en forma de int. | Use glCreateShader to create a shader object and return a reference to it in the form of an int. |
En este ejemplo el vertex shader establece la posición de los objetos transformando de object space a clip space. | In this example the vertex shader establishes the position of the objects transforming of object space to clip space. |
Adornado con la salida de la función del shader y del trazador de líneas. ¡Un eficiente y multifuncional must-have para su estudio! | Attached with shader and liner function output.An efficient and multifunctional must-have for your studio! |
El ejemplo utiliza un shader Cg para realizar bump mapping, aunque este carece de una transformación adecuada al espacio tangencial. | The example uses a Cg shader to realize bump mapping, though this one lacks a transformation to the tangent space. |
Los cálculos para aplicar la iluminación se realizan en el fragment shader, tomando los argumentos enviados desde el vertex shader. | The calculations to apply the lighting are realized in the fragment shader, taking the arguments sent from the vertex shader. |
Para ello, se construyen todas las matrices necesarias en vb y se envía el resultado de las operaciones al shader. | For it, all the necessary arrays are constructed in vb and the result of the operations is sent to the shader. |
Este ejemplo proviene del sdk 10 de NVIDIA y propone un shader para generar Gaussian Blur como efecto de post producción. | This example comes from the sdk 10 of NVIDIA and proposes a CgFX shader to generate Gaussian Blur as a post-production effect. |
El shader recibe los vértices de lo que debiera ser un simple triángulo y entrega una forma suavemente deformada del mismo. | The shader receives the vertexes of what must be a simple triangle and delivers a form softly deformed of the same one. |
El primer ejemplo carga un md2 en memoria de video y lo anima utilizando interpolacion lineal (lerp) en un vertex shader. | The first example loads an md2 file in video memory and implements it's animation using linear interpolation (lerp) in a vertex shader. |
Este ejemplo demuestra como deformar una objeto atado a un esqueleto (Vertex Blend) en la placa de video usando un shader Cg. | This sample demonstrates how to skin a mesh on the hardware using a Cg shader. |
En esta oportunidad un ejemplo del pasaje de valores al Vertex Program y uno de parámetros variables dentro del shader mismo. | In this opportunity an example of the passage of values to the Vertex Program and one of changeable parameters inside the shader itself. |
Para poder generar nuestro objeto 3D, debemos crear un vértice shader con un fragment shader para este. | Create Shaders To be able to render our 3D object, we must create a vertex shader and a fragment shader for it. |
Random Word
Roll the dice and learn a new word now!
Want to Learn Spanish?
Spanish learning for everyone. For free.
