Differences

This shows you the differences between two versions of the page.

Link to this comparison view

egc:laboratoare:06 [2021/11/15 13:12]
robert.caragicu [Cum trimitem date generale la un shader?] typo
egc:laboratoare:06 [2021/11/19 13:08] (current)
victor.asavei [Cerinte laborator]
Line 202: Line 202:
     * Daca ati completat corect functia, si ati completat gl_Position in vertex shader, ar trebui sa vedeti un cub pe centrul ecranului rottit 45 grade in jurul lui Y si colorat variat     * Daca ati completat corect functia, si ati completat gl_Position in vertex shader, ar trebui sa vedeti un cub pe centrul ecranului rottit 45 grade in jurul lui Y si colorat variat
   - Completati Vertex Shaderul   - Completati Vertex Shaderul
-    - Se de clara atributele de intrare pentru ''​Vertex Shader''​ folosind layout location <code glsl>+    - Se declara ​atributele de intrare pentru ''​Vertex Shader''​ folosind layout location <code glsl>
  layout(location = 0) in vec3 v_position;  layout(location = 0) in vec3 v_position;
  // same for the rest of the attributes ( check Lab6.cpp CreateMesh() );  // same for the rest of the attributes ( check Lab6.cpp CreateMesh() );
egc/laboratoare/06.1636974777.txt.gz · Last modified: 2021/11/15 13:12 by robert.caragicu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0