2. OVERVIEW
• Water surface color variable according to camera angle of degree.
• Used Depth read with Fresnel angular.
• Remove to useless functions .
• Removed to Foam effect.
• Removed some unused lerp.
• Only use to one of Normal texture.
• Just piece of one normal texture sampler2D.
• The piece of two texture parameter that created instance.
•
Make branching to three level of Quality Phases
• Not used Multi compile then just adjusting quality phases setting to use X2M_Water script profiles.
3. SPECIFICATIONS OF WATER SURFACE EFFECTS
• SURFACE DEPTH WITH DISTANCE Of COLOR ( FRESNEL ANGULAR VARIABLE COLOR EFFECT)
表面深度与颜色距离
• WATER REFLECTION / 水面反射
• WATER REFRACTION(DISTORTION) / 水面折射(扭曲)
• WATER QUALITY PHASES / 质量阶段
4. SPECIFICATIONS OF WATER SURFACE EFFECTS
• Structure of Components
Namespace : X2MWater
Class : X2M_WaterReflection
Namespace : X2MWater
Class : X2M_Caustics
Namespace : X2MWater
Class : X2M_WaterReflection
5. SURFACE DEPTH WITH DISTANCE COLOR
• 表面深度与颜色距离 ( FRESNEL ANGULAR VARIABLE COLOR EFFECT)
Far distance
Near distance
6. WAVE
• 水面折射(扭曲)
Distortion ( Refraction ) : This function affect to under water mesh distortion as fragment to vertex.
7. SURFACE DEPTH WITH DISTANCE COLOR
• 表面深度与颜色距离 ( FRESNEL ANGULAR VARIABLE COLOR EFFECT)
Water Falloff : -0.05
Water Falloff : -1.34
8. SURFACE DEPTH WITH DISTANCE COLOR
• 表面深度与颜色距离 ( FRESNEL ANGULAR VARIABLE COLOR EFFECT)
Water Specular : If Water Specular value is higher that make blue water surface.
Water Smoothness : If Water Smoothness value is higher that make tighten specular high-light on water surface.
9. REFLECTION
• 水面反射
Reflection angle : Distortion directions of horizontal.
Reflection Distort : Distortion wrap scale. (This property have related of effect with Distortion value.)
Reflection Intensity : Reflection Power.
카메라 각도에 따라서 변하는 물 표면 색상.
Depth read 와 Fresnel angular 를 사용 하여 표현.
우리 게임 화면 표현을 검토 할 때 불필요 한 표현 제거.
Foam effect 는 제거 하였다.
불필요 한 Lerp 함수 제거.
한 장의 Normal texture 사용.
Normal texture sampler 1개 사용 함.
두 개의 texture parameter 생성은 sampler2D 를 instance 하여 사용.
3단계 Quality Phase 로 분기
Multi compile 사용 하지 않고 X2M_Water script 에서 프로필 관리.