shaders
play

Shaders Rasmus Vahtra, Andres Traks What is a shader? Maybe this - PowerPoint PPT Presentation

Shaders Rasmus Vahtra, Andres Traks What is a shader? Maybe this thing? Shader definition Computer program that is used to do shading So what exactly do they do? Calculate rendering effects on graphics hardware Allows customized


  1. Shaders Rasmus Vahtra, Andres Traks

  2. What is a shader? Maybe this thing?

  3. Shader definition Computer program that is used to do shading

  4. So what exactly do they do? ● Calculate rendering effects on graphics hardware ● Allows customized effects ○ Hue ○ Saturation ○ Brightness ○ Contrast Everything on the fly!

  5. Basics of graphics pipeline (from shaders’ POV) Geometry is formed Geometry CPU GPU ( vertex shader ) shader Geometry is Tessellation Fragment triangulated shader shader Depth Rendering test frame

  6. Shader types ● Vertex shaders - describe vertices (position, texture, colours) ● Geometry shader ● Tessellation shader ● Fragment shaders (Pixel shaders) - describe pixels (colour, depth)

  7. Geometry shader Performs tasks that vertex nor pixel shaders can’t really do

  8. Tessellation shader Takes geometry and starts splitting surfaces into smaller and smaller triangles, thus making things smoother

  9. Shaders: Low

  10. Shaders: Medium

  11. Shaders: High

  12. Shaders: Low

  13. Shaders: Medium

  14. Shaders: High

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend