Method and device for realizing underwater fog effect
An implementation method and orientation technology, applied in the field of game scene processing, can solve problems such as poor visual effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0039] Please refer to figure 2 , figure 2It is one of the flow charts of the method for realizing the underwater fog effect provided by the first embodiment of the present invention. The method is applied to the computing device 100 described above. The specific flow of the method for realizing the underwater fog effect will be described in detail below. The method includes: step S120 and step S130.
[0040] Step S120, when the visible object is in the first orientation of the camera at the current perspective, calculate the first fog effect mixing factor based on the depth of the camera at the current perspective in water and the depth factor change formula.
[0041] Step S130, simulating the fog effect concentration effect observed on the visible object under the current viewing angle according to the value of the first fog effect mixing factor.
[0042] Please refer to image 3 , image 3 It is the second flow chart of the steps of the method for realizing the unde...
no. 2 example
[0085] Please refer to Figure 10 , Figure 10 It is a functional block diagram of the device 200 for realizing the underwater fog effect provided by the second embodiment of the present invention. The apparatus is applied to the above-mentioned computing device 100 . The device includes: a calculation module 220 and a simulation processing module 230 .
[0086] The calculation module 220 is configured to calculate a first fog effect mixing factor based on the depth of the current perspective camera in water and the depth factor change formula when the visible object is in the first orientation of the current perspective camera.
[0087] The simulation processing module 230 is configured to simulate the fog effect concentration effect of the visible object observed under the current viewing angle according to the value of the first fog effect mixing factor.
[0088] In this embodiment, the computing module 220 is used to execute figure 2 In step S120, the simulation proce...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


