摘要:http://www.cnblogs.com/summericeyl/archive/2011/01/04/1945030.html深度阴影纹理的原理:分三步, 第一步, 生成一个深度纹理. 首先将观察点移动到光源位置, 而后绘制场景, 将得到的场景帧缓存中的深度值写入纹理中第二步, 绘制场景的时候...
阅读全文
摘要:#pragma once#include #include#include #include #include #include #include #include #include "MyMatrix4X4.h"using namespace std;static int win;GLuint p...
阅读全文
摘要:最近用到纹理,以下是一个DEMO#pragma once#include #include#include #include #include #include #include #include using namespace std;static int win;GLuint pTexture;...
阅读全文
摘要:法一:对paulsprojects教程有效http://emreburhan.com/blog/?p=9Back-face Culling and Shadow MapsShadows has remained as a big challenge for years in computer gra...
阅读全文
摘要:http://www.cppblog.com/kongque/archive/2010/08/26/124754.htmlFBO一个最常见的应用就是:渲染到纹理(render to texture),通过这项技术可以实现发光效果,环境映射,阴影映射等很炫的效果。OpenGL中的Frame Buffe...
阅读全文
摘要:颜色英文代码形像颜色HEX格式RGB格式 LightPink浅粉红#FFB6C1255,182,193 Pink粉红#FFC0CB255,192,203 Crimson猩红#DC143C220,20,60 LavenderBlush脸红的淡紫色#FFF0F5255,240,245 PaleViole...
阅读全文
摘要:http://www.cnblogs.com/figure9/archive/2013/01/09/2853649.html1,简介毕业答辩搞定,总算可以闲一段时间,把这段求职经历写出来,也作为之前三个半月的求职的回顾。 首先说说我拿到的offer情况:微软,3面->终面,搞定百度,3面->终面,口...
阅读全文