Shadow implementation method and device of game scene, electronic equipment and readable medium

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

Active Publication Date: 2019-12-20
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 6 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 implementation method and device of game scene, electronic equipment and readable medium
  • Shadow implementation method and device of game scene, electronic equipment and readable medium
  • Shadow implementation method and device of game scene, electronic equipment and readable medium

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 invention provide a shadow implementation method and device of a game scene, electronic equipment and a readable medium. The method comprises the following steps of determining a character shadow display mode of a current scene; according to the character shadow display mode, adjusting a view cone range of a shadow camera of the current scene; generating depth texture information of a fragment in the current scene according to the shadow camera subjected to the adjustment of the view cone range; and drawing a real-time shadow of a character in the current scene according tothe depth texture information and conversion depth information of the fragment. According to the shadow implementation method and device of the game scene, the electronic equipment and the readable medium, according to different character shadow display modes, the view cone range of the shadow camera is adjusted, so that a shadow picture can be optimized and the memory occupancy rate of shadow sampling is reduced.

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 Applications(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