Differences

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

Link to this comparison view

egc:laboratoare:bonusrendertext [2019/11/25 18:39]
victor.asavei [Redare text în OpenGL]
egc:laboratoare:bonusrendertext [2019/12/03 07:56] (current)
alexandru.gradinaru
Line 1: Line 1:
-===== Laborator ​bonus =====+===== Resurse ​bonus =====
  
 ==== Redare text în OpenGL ==== ==== Redare text în OpenGL ====
Line 87: Line 87:
   * Vertex shader   * Vertex shader
 <code glsl> <code glsl>
-layout(location = 0) in vec4 vertex; // <vec2 posvec2 tex>+layout(location = 0) in vec4 vertex; // <x,y,u,v>
 out vec2 TexCoords; out vec2 TexCoords;
  
egc/laboratoare/bonusrendertext.1574699997.txt.gz · Last modified: 2019/11/25 18:39 by victor.asavei
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