提交 619237e0 编写于 作者: M Mugen87

Water: Format

上级 92329ec6
......@@ -255,7 +255,7 @@ THREE.Water.WaterShader = {
' vec4 mvPosition = viewMatrix * worldPosition;', // used in fog_vertex
' gl_Position = projectionMatrix * mvPosition;',
' #include <fog_vertex>',
' #include <fog_vertex>',
'}'
......@@ -327,9 +327,9 @@ THREE.Water.WaterShader = {
// multiply water color with the mix of both textures
' gl_FragColor = vec4( color, 1.0 ) * mix( refractColor, reflectColor, reflectance );',
'#include <tonemapping_fragment>',
'#include <encodings_fragment>',
'#include <fog_fragment>',
' #include <tonemapping_fragment>',
' #include <encodings_fragment>',
' #include <fog_fragment>',
'}'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册