提交 d25ed837 编写于 作者: W WestLangley

Support encodings such as RGBE

上级 feb480aa
......@@ -90,9 +90,7 @@ THREE.EquirectangularToCubeGenerator.prototype = {
\n\
void main() {\n\
vec2 uv = EquirectangularSampleUV(normalize(localPosition));\n\
vec3 color = texture2D(equirectangularMap, uv).rgb;\n\
\n\
gl_FragColor = vec4( color, 1.0 );\n\
gl_FragColor = texture2D(equirectangularMap, uv);\n\
}",
blending: THREE.NoBlending
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册