Shadow realization method, device, electronic device and readable medium of game scene

A game scene and shadow technology, applied in the field of image processing, can solve problems such as low running speed and high memory pressure, and achieve the effect of increasing running speed, reducing memory pressure, and enhancing display effect

Active Publication Date: 2021-10-15
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present disclosure provide a method, device, electronic device, and readable medium for implementing shadows in game scenes, thereby at least to a certain extent avoiding high memory pressure and low operating speed caused by low shadow precision or multiple sampling in the prior art Defects

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Shadow realization method, device, electronic device and readable medium of game scene
  • Shadow realization method, device, electronic device and readable medium of game scene
  • Shadow realization method, device, electronic device and readable medium of game scene

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art.

[0041]Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, means, steps, etc. may be employed. In other instances, well-known methods, app...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Embodiments of the present disclosure provide a method, device, electronic device and readable medium for realizing shadows of game scenes. The method includes: determining the character shadow display mode of the current scene; adjusting the viewing cone range of the shadow camera of the current scene according to the character shadow display mode; generating the slice in the current scene according to the shadow camera after adjusting the viewing cone range The depth texture information of the element; draw the real-time shadow of the character in the current scene according to the depth texture information and the converted depth information of the fragment. The method, device, electronic device, and readable medium for realizing the shadow of the game scene provided by the embodiments of the present disclosure can adjust the viewing cone range of the shadow camera according to different character shadow display modes, so as to optimize the shadow picture and reduce the memory usage of shadow sampling. Rate.

Description

technical field [0001] The present disclosure relates to the technical field of image processing, and in particular, to a method, device, electronic device, and readable medium for realizing shadows of game scenes. Background technique [0002] In the process of creating 3D animation or 3D games, real and dynamic shadows are needed to create real light and shadow effects. In order to ensure the shadow quality of dynamic shadows, the depth value of each object in the scene is usually recorded through the depth texture map, and the depth value of each object in the scene is compared with the depth value of the corresponding point to determine whether the corresponding point is in the shadow. [0003] However, the shading accuracy obtained by the above shading implementation methods is poor. To improve shadow accuracy, the scene is usually sampled using multiple depth texture maps. However, this method requires multiple sampling of the scene, and its steps are complicated and...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): A63F13/60A63F13/525A63F13/5258G06T13/20
CPCA63F13/525A63F13/5258A63F13/60G06T13/20
Inventor 纪凡伟
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products