1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-23 12:45:29 +08:00

Update README.md

Update HDR progress
img/ dir for images
Replace html with picture formula
05 Light casters encoding -> UTF-8
This commit is contained in:
Meow J
2015-06-25 23:17:19 +08:00
parent c54da87280
commit 5ccc5e4059
7 changed files with 125 additions and 156 deletions

View File

@@ -98,7 +98,7 @@ GLSL跟一般的编程语言一样定义了一些常用的数据类型
可以看到在顶点着色器生命了一个向量*vertexColor* 有out修饰同时在片段着色器声明了一个*vertexColor* 使用in来修饰这样片段着色器就可以获取顶点着色器处理的*vertexColor*的结果了
根据上面shader可以得出下图的效果
![shader效果](https://github.com/codeman001/LearnOpenGL-CN/blob/master/01%20Getting%20started/pic1.jpg?raw=true)
![shader效果](https://raw.githubusercontent.com/LearnOpenGL-CN/LearnOpenGL-CN/master/img/shaders1.jpg)
**常量**