Image depth-of-field processing method and system based on mobile game platform
A processing method and image technology, which is applied in the field of image processing, can solve the problems of complex technology, low efficiency of mobile game platforms, and inability to use large-scale mobile platforms, so as to achieve the effect of improving efficiency and simplifying the process of image depth of field
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0059] The present invention will be further described below in conjunction with the accompanying drawings.
[0060] The invention provides a method for processing image depth of field based on a mobile game platform, said method comprising the following steps:
[0061] Step S1, performing multiple progressive sampling on the source image of the mobile game platform, realizing image blurring processing, and generating a blurred picture;
[0062] The multiple progressive sampling in the step S1 is specifically:
[0063] In the image vertex shader rendering stage, record the texture coordinate value of each pixel of the image offset by 2 pixels. The texture coordinate calculation formula is as follows: the first texture coordinate value is (-uv.x*2.0,0.0); the second The first texture coordinate value is (-uv.x, uv.y); the third texture coordinate value is (0.0, uv.y*2.0); the fourth texture coordinate value is (uv.x, uv.y); The fifth texture coordinate value is (uv.x*2.0,0.0)...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
