CSharpGL(43)环境映射(Environment Mapping)-天空盒(Skybox)反射(Reflection)和折射(Refraction)
CSharpGL(43)环境映射(Environment Mapping)-天空盒(Skybox)反射(Reflection)和折射(Refraction) 开始 如图所示,本文围绕GLSL里的samplerCube记录天空盒(Skybox)、反射(reflection)、折射(refracti...
【Shader Forge】Refraction实现折射效果的研究
Refraction Refraction is a screen-space UV offset for refracting the background pixels. Make sure you set the alpha to something below 1 before us...
UVA 12901 Refraction 折射 (物理)
一道物理题,解个2次方程就行了。。。 求h最小的情况对应如下图所示 做法不唯一,我想避免精度损失所以在化简的时候尽可能地去避免sqrt和浮点数乘除。 似乎精度要求很低,直接用角度算也可以 #include<cstdio>#include<cmath>int mai...
NGUI Example5 演示示例评论– lights and Refraction
NGUI Example5 – lights and Refraction NUI这个系统是在是牛。比unity3D里面自带的gui要好用得多。还能够为GUI加入法线贴图!哈哈。尽管在EZgui里面也能够。接下来的样例,我不在使用它自己的样例了。由于反复性劳动太多。大家看了也烦。我就...
THREE.js代码备份——webgl - materials - cube refraction [balls](以上下左右前后6张图片构成立体场景、透明球体效果)
<!DOCTYPE html><html lang="en"><head> <title>three.js webgl - materials - cube refraction [balls]</title> <me...
CSharpGL(43)环境映射(Environment Mapping)-天空盒(Skybox)反射(Reflection)和折射(Refraction)
CSharpGL(43)环境映射(Environment Mapping)-天空盒(Skybox)反射(Reflection)和折射(Refraction) 开始 如图所示,本文围绕GLSL里的samplerCube记录天空盒(Skybox)、反射(reflection)、折射(refracti...
CSharpGL(43)环境映射(Environment Mapping)-天空盒(Skybox)反射(Reflection)和折射(Refraction)
CSharpGL(43)环境映射(Environment Mapping)-天空盒(Skybox)反射(Reflection)和折射(Refraction)开始如图所示,本文围绕GLSL里的samplerCube记录天空盒(Skybox)、反射(reflection)、折射(refraction)的...