Method, device, terminal device and storage medium for simulating lighting in game scene
A game scene and light source technology, applied in the field of image processing, can solve problems such as the inability to achieve light occlusion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 3 example
[0114] On the basis of the first embodiment, the generating target illumination information texture map according to the movement of the light source and the illumination area table specifically includes:
[0115] calculating an offset of the light source according to the current position of the light source after the movement and the initial position of the light source;
[0116] Generate a target lighting information texture map according to the offset and the lighting area table.
[0117] In this embodiment, in order to reduce the calculation pressure, the generation frequency of illumination information can be appropriately reduced. When it is detected that the position of the light source changes, there is no need to perform collision detection based on the new light source position to generate a new illumination area table. In this embodiment, specifically, when it is detected that the position of the light source changes, the current position of the light source after m...
no. 4 example
[0124] On the basis of the third embodiment, the generating the target lighting information texture map according to the offset and the lighting area table specifically includes:
[0125] Perform scaling processing on the illumination area table according to the offset to obtain a first illumination information texture map;
[0126] Correcting the field of view of the first illumination information texture map by using the moved irradiation range of the light source to obtain a second illumination information texture map;
[0127] performing Gaussian blur processing on the second illumination information texture map to obtain a third illumination information texture map;
[0128] performing edge sharpening on the third illumination information texture map to obtain a fourth illumination information texture map;
[0129] The fourth illumination information texture map is interpolated and fused with the target illumination information texture map of the previous N frames to gen...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com