Resource verification method and device, storage medium and computer equipment

By setting up a unified ambient light and sky box in the resource verification tool, the color verification of resources is achieved, solving the problem of inconsistent resource verification in animated movies and game development, and improving verification accuracy and consistency.

CN119273611APending Publication Date: 2025-01-07BEIJING PERFECT WORLD SOFTWARE TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310826782.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-06
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

During the development of animation movies and games, there is a lack of reasonable and unified resource verification standards in the LookDev process, resulting in inconsistent resource verification caused by personal aesthetic differences and environmental differences, which affects the overall performance of the work.

Method used

Provide a resource verification method and device, by setting ambient light including parallel light and sky light, opening the sky box, setting a solid color cube map, setting the light intensity according to the unified color verification conditions, ensuring that the resource is verified in a unified environment .

Benefits of technology

It improves the accuracy of resource verification, avoids the impact of environmental map texture on rendering effect, and solves the problem of inconsistent verification standards and inconsistent effects caused by individual experience differences among verification personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119273611A_ABST
    Figure CN119273611A_ABST
Patent Text Reader

Abstract

The invention discloses a resource verification method and device, a storage medium and computer equipment, and is applied to a resource verification tool, the method comprises the following steps: setting ambient light for resource verification, the ambient light comprising parallel light and daylight; opening the sky box, and setting an environment map of the sky box as a cube map of a first color; acquiring first ambient light information corresponding to a color verification condition, and performing illumination intensity setting on the parallel light and the daylight according to the first ambient light information; and adding a verified resource, and rendering a resource effect of the verified resource under the color verification condition so as to perform color verification on the verified resource. According to the method and the device, the influence of texture of the environment map on the subsequent rendering effect is avoided by setting the pure-color sky box environment map, the verification accuracy is improved, and the problem of non-uniform verification standards caused by individual experience difference of verification personnel is solved by setting the unified color verification condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of art resource development, and in particular to a resource verification method and device, a storage medium, and a computer device. Background Art

[0002] In the animation film production process, the comprehensive application of scene assembly, lighting, materials, and rendering tools is abstracted and called Look Development, or LookDev for short. LookDev is result-oriented and iterative, that is, the process of developing the appearance of characters, scenes, and shots through the coordination of various technical and artistic means.

[0003] In the process of game development, the main purpose is for artists to check and compare the performance of resources in different production environments in order to adjust the work to meet the requirements. Since most of the work is done in a division of labor and the project requires uniform performance, the performance of the resources submitted by each person should be basically the same. However, due to different production environments, such as differences in monitor color rendering, differences in art production processes, and different personal aesthetics, the difference in the rendering of the images may not be very different, but when two resources are placed in the same scene, the effect is very different. Here, a unified environment is needed to check the art resources.

[0004] Currently, most known LookDevs rely on personal aesthetic experience and lack reasonable and unified verification standards and means. Summary of the invention

[0005] In view of this, the present application provides a resource verification method and device, a storage medium, and a computer device.

[0006] According to one aspect of the present application, a resource verification method is provided, which is applied to a resource verification tool, and the method includes:

[0007] Setting ambient light for resource verification, wherein the ambient light includes parallel light and sky light;

[0008] Opening a skybox and setting the environment map of the skybox to a cube map of the first color;

[0009] Acquire first ambient light information corresponding to the color verification condition, and set the illumination intensity of the parallel light and the skylight according to the first ambient light information;

[0010] Add the verified resource, and render the resource effect of the verified resource under the color verification condition to perform color verification on the verified resource.

[0011] According to another aspect of the present application, a resource verification device is provided, which is applied to a resource verification tool, and the device includes:

[0012] An ambient light setting module, used to set the ambient light for resource verification, wherein the ambient light includes parallel light and sky light;

[0013] A skybox setting module, used for opening a skybox and setting an environment map of the skybox to a cube map of a first color;

[0014] an illumination information setting module, used for acquiring first ambient light information corresponding to a color verification condition, and setting illumination intensities of the parallel light and the skylight according to the first ambient light information;

[0015] The verification module is used to add a verified resource and render the resource effect of the verified resource under the color verification condition to perform color verification on the verified resource.

[0016] According to another aspect of the present application, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned resource verification method is implemented.

[0017] According to another aspect of the present application, a computer device is provided, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the above-mentioned resource verification method when executing the program.

[0018] By means of the above technical scheme, the present application provides a resource verification method and device, storage medium, and computer equipment. For the verified resources that need to be verified, firstly, parallel light and skylight are added to the resource verification tool to provide lighting for resource verification, then the sky box is turned on, and the environment map of the sky box is set to a solid-color cube map, and then the illumination intensity of the parallel light and skylight is set according to the color verification conditions to unify the color verification conditions for resource verification, and finally the verified resources are added and rendered, and the verified resources are verified under the presented resource effects. The embodiment of the present application improves the accuracy of the verification effect by setting a solid-color sky box environment map to avoid the influence of the texture of the environment map on the subsequent rendering effect, and solves the problem of inconsistent verification standards and inconsistent verification effects caused by differences in individual experience of verification personnel by setting unified color verification conditions.

[0019] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0021] FIG. 1( a ) shows a schematic diagram of a process flow of a resource verification method provided in an embodiment of the present application;

[0022] FIG1( b ) shows a schematic diagram of a process flow of a resource verification method provided in an embodiment of the present application;

[0023] FIG1( c ) shows a schematic diagram of a process flow of a resource verification method provided in an embodiment of the present application;

[0024] FIG. 2( a ) shows a schematic diagram of a process flow of another resource verification method provided in an embodiment of the present application;

[0025] FIG2( b ) shows a schematic diagram of resource effects under different texture verification conditions provided by an embodiment of the present application;

[0026] Figure 3 A schematic diagram of the structure of a resource verification device provided in an embodiment of the present application is shown;

[0027] Figure 4 A schematic diagram of the device structure of a computer device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0028] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0029] The resource verification method provided in this application can be directly applied to existing resource verification tools, such as the LookDev tool (LookDev is a tool for checking and comparing the performance of resources in different lighting environments), and can also be applied to resource verification tools developed for resource verification needs. Due to the presence of reflection and environmental GI (Global Illumination), the color and brightness will be affected to a greater or lesser extent. Therefore, in order to avoid the influence of HDR (High Dynamic Range Imaging) on ​​the results, the resource can be verified in at least one of the color and texture.

[0030] In this embodiment, a resource verification method is provided, which is applied to a resource verification tool. As shown in FIG1( a ), the method includes:

[0031] Step 101, setting ambient light for resource verification, wherein the ambient light includes parallel light and sky light.

[0032] Step 102, opening the skybox, and setting the environment map of the skybox to a cube map of a first color.

[0033] Step 103: Acquire first ambient light information corresponding to the color verification condition, and set the illumination intensity of the parallel light and the skylight according to the first ambient light information.

[0034] Step 104 , adding a resource to be verified, and rendering a resource effect of the resource to be verified under the color verification condition to perform color verification on the resource to be verified.

[0035] This embodiment is mainly used to perform color verification on the verified resources. First, set the ambient light selected for resource verification. The resource verification environment is illuminated by a parallel light and a skylight, so a parallel light and a skylight are turned on in the resource verification tool. Secondly, turn on the skybox, set a pure color cubemap as the environment map of the skybox, for example, set a pure white cubemap as the environment map of the skybox to provide reflection and ambient light. Because the map is pure white and textureless, the influence of color and uneven brightness on the lighting results is avoided. Of course, the verifier can also select cubemaps of other colors as the environment map of the skybox according to the needs of verification. For example, if the verified resource is a resource in a dark game, a reddish pure color cubemap can be selected as the environment map, which is more suitable for the actual use environment of the verified resource. Then, according to the first ambient light information under the color verification condition, the illumination intensity of the above-mentioned parallel light and skylight is set to standardize the color verification conditions. Finally, add the verified resources that need to be verified, run the rendering function of the resource verification tool, render the verified resources under the color verification conditions, and present the resource effects under the color verification conditions. At this time, the verifier can verify whether the effect meets expectations.

[0036] Optionally, before setting the ambient light and ambient light intensity information for resource verification, the method further includes: setting an automatic exposure function of a resource verification tool to a closed state, and setting post-processing effects except tone mapping to a closed state.

[0037] Among them, when conducting resource verification, in order to avoid the problem of inaccurate verification caused by some additional functions affecting the rendering effect of the verified resource, the automatic exposure function of the resource verification tool can be turned off, so that the EV100 value (exposure value) is 0, and other post-processing effects except tonemapping are turned off, thereby avoiding automatic light explosion and picture post-processing. The impact on the lighting effect of the verified resource helps to improve the accuracy of verification.

[0038] By applying the technical solution of this embodiment, for the verified resources that need to be verified, first add parallel light and skylight to the resource verification tool to provide lighting for resource verification, then turn on the skybox, and set the environment map of the skybox to a solid-color cube map, and then set the illumination intensity of the parallel light and skylight according to the color verification conditions to unify the color verification conditions for resource verification, and finally add and render the verified resources, and verify the verified resources under the presented resource effects. The embodiment of the present application improves the accuracy of the verification effect by setting a solid-color skybox environment map to avoid the influence of the texture of the environment map on the subsequent rendering effect, and by setting a unified color verification condition, solves the problem of inconsistent verification standards and inconsistent verification effects caused by differences in individual experience of verification personnel.

[0039] Further, as a refinement and extension of the specific implementation of the above embodiment, in order to fully illustrate the specific implementation process of this embodiment, another resource verification method is provided, as shown in FIG1(b), the method comprising:

[0040] Step 201, setting ambient light for resource verification, wherein the ambient light includes parallel light and sky light.

[0041] Step 202, opening the skybox, and setting the environment map of the skybox to a cube map of a first color.

[0042] Step 203: Acquire first ambient light information corresponding to the color verification condition, where the first ambient light information includes a first ambient light ratio and a first light intensity sum.

[0043] Step 204, based on the first ambient light ratio and the first light intensity sum, calculate a first parallel light intensity value and a first sky light intensity value, and set the light intensity of the parallel light according to the first parallel light intensity value and set the light intensity of the sky light according to the first sky light intensity value.

[0044] Step 205 , adding a resource to be verified, and rendering a resource effect of the resource to be verified under the color verification condition to perform color verification on the resource to be verified.

[0045] In the above embodiment, the color of the verified resource can be verified by ensuring that the color presented by the verified resource is closer to the actual set color as much as possible. In a specific application scenario, since the resource is illuminated by light from multiple angles, bright and dark sides will be produced, and it is impossible to ensure that all parts of the resource are displayed as the basic color (the actual set color). Here, we can take a way to ensure that the brightest point of the resource keeps the original color as much as possible, that is, we only need to unify the sum of the light intensity of skylight and parallel light to a fixed value. The sum of the light intensity can be specifically determined according to the diffuse reflection calculation formula of the game engine. Taking the UE engine as an example, when the light intensity is 3.14Lux, the diffuse reflection color is the base color BaseColor of the material input, that is, when a certain point is exposed to light with an intensity of 3.14Lux, this point can present the basic color. Therefore, if you want to ensure that the bright side of the resource presents the basic color of the resource, you can keep the total light intensity at 3.14Lux. Light ratio is used to control the ratio of parallel light and skylight, which is defined as "(parallel light + skylight) / skylight". It is expressed as the ratio of bright side to dark side in the environment. When the sum of the two light intensities remains unchanged at 3.14 Lux, adjusting the light ratio can adjust the light quality. The specific light ratio distribution can be a uniform value or adjusted according to the verification personnel's requirements for light quality.

[0046] Of course, the sum of the first light intensity under the color verification condition is not limited to the above-mentioned 3.14Lux (or the light intensity that can maintain the basic color of the resource in the game engine), and can also be uniformly set according to the actual resource verification needs, for example, adjusted based on 3.14Lux according to the application scenario of the resource.

[0047] Furthermore, the embodiment of the present application also provides another resource verification method, as shown in FIG1(c), the method comprising:

[0048] Step 301: setting ambient light for resource verification, wherein the ambient light includes parallel light and sky light.

[0049] Step 302, opening the skybox, and setting the environment map of the skybox to a cube map of a first color.

[0050] Step 303: Acquire first ambient light information corresponding to the color verification condition, and set the illumination intensity of the parallel light and the skylight according to the first ambient light information.

[0051] Step 304, adding the verified resource, obtaining the comparison resource corresponding to the color verification condition, and adding the comparison resource, wherein the comparison resource includes a ground resource whose color is the second color and whose material is a non-reflective material.

[0052] Step 305 , rendering the resource effects of the verified resource and the comparison resource under the color verification condition to perform color verification on the verified resource.

[0053] In the above embodiment, a contrast resource of a specific color and a material that does not produce a reflection effect can also be added, and after the verified resource and the contrast resource are rendered, the verified resource and the contrast resource present a contrast effect, thereby realizing color verification of the verified resource. In a specific application scenario, a ground resource of a medium gray and completely rough non-metallic material can be added to eliminate the influence of reflection and highlight on the lighting result. Among them, the so-called medium gray, in the RGB color mode, refers to R:G:B=1:1:1, that is, the values ​​of red, green and blue are equal. In addition, in order to keep the contrast resource able to present its actual basic color, the skylight and parallel light can also be adaptively adjusted, and finally the contrast resource and the verified resource are rendered at the same time. Considering that parallel light is directional light, it is necessary to calculate the influence of the direction of parallel light on the light intensity projected on the floor, that is, "parallel light intensity / parallel light direction dot (0,0,1)", combined with the previous light ratio, to achieve the middle gray of the floor under different light qualities. In this way, the color of the color object can be compared with the medium gray floor to see whether it is too bright or too dark. Since the comparison resource is a unified standard resource, the verifier can use the comparison resource as a standard to compare the color of the resource being verified. By adding the comparison resource for color verification, the problem of relying to a certain extent on the verifier's personal color sense and lacking contrast effect in the method shown in Figure 2 can be further solved.

[0054] Furthermore, the embodiment of the present application also provides another resource verification method, as shown in FIG2(a), the method comprising:

[0055] Step 401 : determining second ambient light information corresponding to the texture verification condition, wherein the second ambient light information includes a second ambient light ratio, an ambient light color temperature, and a second light intensity sum.

[0056] Step 402, based on the second ambient light ratio and the second light intensity sum, calculate the second parallel light intensity value and the second daylight intensity value, and set the light intensity of the parallel light according to the second parallel light intensity value, set the light intensity of the skylight according to the second daylight intensity value, and set the color temperature of the parallel light and the skylight according to the target ambient light color temperature.

[0057] Step 403: Acquire a texture verification condition map corresponding to the texture verification condition, and replace the environment map of the sky box with the texture verification condition map.

[0058] Step 404: Render the resource effect of the resource to be verified under the texture verification condition to perform texture verification on the resource to be verified.

[0059] This embodiment is mainly used to verify the texture of the verified resource. Texture verification can be based on color verification or a separate texture verification method can be implemented. Taking color verification as an example, when the ambient light including parallel light and skylight has been set and the skybox is turned on, first determine the second ambient light information and texture verification condition map corresponding to the texture verification condition, and then set the intensity and color temperature of the skylight and parallel light according to the second ambient light information, and replace the ambient map of the skybox with the texture verification condition map to create a lighting environment effect that matches the texture verification condition. Finally, render the verified resource so that the verification personnel can verify the texture of the verified resource based on the rendered resource effect.

[0060] Optionally, step 401 includes: determining at least one texture verification condition based on at least one application environment corresponding to the verified resource; and querying second ambient light information matching each texture verification condition in a preset ambient light configuration table, wherein the preset ambient light configuration table includes ambient light ratios and ambient light color temperatures under multiple environments determined according to preset lighting rules.

[0061] In this embodiment, the texture verification conditions for the verified resource can be determined according to the application environment of the verified resource. For example, if the verified resource is expected to be used in two environments, morning and snowy days, in the future, these two environments are used as the texture verification conditions of the verified resource. Further, the second ambient light information matching each texture verification condition is queried in the pre-edited preset ambient light configuration table. The preset ambient light configuration table includes the ambient light ratio and ambient light color temperature in various environments pre-established based on a specific lighting rule (such as the Sunshine 16 rule). Combined with physical lighting, the actual brightness can be converted to EV100=0. The light ratio and color temperature are determined for the environment of the current cubemap with reference to the Sunshine 16 rule, so that a lighting environment corresponding to the cubemap is obtained. Therefore, the lighting information is set and the texture verification of the verified resource is performed one by one under each texture verification condition. According to the application environment, a set of lighting environments that are close to the real world is obtained by looking up the table, avoiding visual errors caused by different personal aesthetics. As shown in Figure 2(b), the resource effects under 8 different texture verification conditions are shown.

[0062] Further, as a specific implementation of the method of FIG. 1, the present application embodiment provides a resource verification device, which is applied to a resource verification tool, such as Figure 3 As shown, the device comprises:

[0063] An ambient light setting module, used to set the ambient light for resource verification, wherein the ambient light includes parallel light and sky light;

[0064] A skybox setting module, used for opening a skybox and setting an environment map of the skybox to a cube map of a first color;

[0065] an illumination information setting module, used for acquiring first ambient light information corresponding to a color verification condition, and setting illumination intensities of the parallel light and the skylight according to the first ambient light information;

[0066] The verification module is used to add a verified resource and render the resource effect of the verified resource under the color verification condition to perform color verification on the verified resource.

[0067] Optionally, the first ambient light information includes a first ambient light ratio and a first light intensity sum; and the light information setting module is further used to:

[0068] Based on the first ambient light ratio and the first light intensity sum, a first parallel light intensity value and a first light intensity value are calculated, and the light intensity of the parallel light is set according to the first parallel light intensity value, and the light intensity of the skylight is set according to the first sky light intensity value.

[0069] Optionally, the verification module is further used to:

[0070] Before rendering the resource effect of the verified resource under the preset color verification condition, obtaining a comparison resource corresponding to the color verification condition and adding the comparison resource, wherein the comparison resource includes a ground resource whose color is the second color and whose material is a non-reflective material;

[0071] The resource effects of the verified resource and the comparison resource are rendered under the color verification condition to perform color verification on the verified resource.

[0072] Optionally, the illumination information setting module is further used to: determine second ambient light information corresponding to the texture verification condition, wherein the second ambient light information includes a second ambient light ratio, an ambient light color temperature, and a second light intensity sum; calculate a second parallel light intensity value and a second daylight intensity value based on the second ambient light ratio and the second light intensity sum, and set the illumination intensity of the parallel light according to the second parallel light intensity value, set the illumination intensity of the skylight according to the second daylight intensity value, and set the color temperature of the parallel light and the skylight according to the target ambient light color temperature;

[0073] The verification module is further used to render the resource effect of the verified resource under the texture verification condition to perform texture verification on the verified resource.

[0074] Optionally, the illumination information setting module is further used to:

[0075] Determining at least one texture verification condition according to at least one application environment corresponding to the verified resource;

[0076] In a preset ambient light configuration table, second ambient light information matching each texture verification condition is searched, wherein the preset ambient light configuration table includes ambient light ratios and ambient light color temperatures under multiple environments determined according to preset lighting rules.

[0077] Optionally, the skybox setting module is further used to:

[0078] Before rendering the resource effect of the verified resource under the texture verification condition, a texture verification condition map corresponding to the texture verification condition is obtained, and the environment map of the sky box is replaced by the texture verification condition map.

[0079] Optionally, the ambient light setting module is further used to:

[0080] Before setting the ambient light and ambient light intensity information for resource verification, the automatic exposure function of the resource verification tool is set to a closed state, and the post-processing effects except tone mapping are set to a closed state.

[0081] It should be noted that for other corresponding descriptions of the functional units involved in a resource verification device provided in an embodiment of the present application, reference can be made to the corresponding descriptions in the methods of Figures 1 to 2, and will not be repeated here.

[0082] The present application also provides a computer device, which may be a personal computer, a server, a network device, etc. Figure 4 As shown, the computer device includes a bus, a processor, a memory and a communication interface, and may also include an input and output interface and a display device. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store location information. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the steps in each method embodiment are implemented.

[0083] Those skilled in the art will understand that Figure 4The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0084] In one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium may be non-volatile or volatile, and stores a computer program thereon. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0085] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0086] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0087] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0088] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0089] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A resource verification method, characterized in that: Applied to a resource verification tool, the method comprises: Setting ambient light for resource verification, wherein the ambient light includes parallel light and sky light; Opening a skybox and setting the environment map of the skybox to a cube map of the first color; Acquire first ambient light information corresponding to the color verification condition, and set the illumination intensity of the parallel light and the skylight according to the first ambient light information; Add a resource to be verified, and render the resource effect of the resource to be verified under the color verification condition to perform color verification on the resource to be verified.

2. The method according to claim 1, characterized in that The first ambient light information includes a first ambient light ratio and a first light intensity sum; and setting the light intensity of the parallel light and the skylight according to the first ambient light information includes: Based on the first ambient light ratio and the first light intensity sum, a first parallel light intensity value and a first light intensity value are calculated, and the light intensity of the parallel light is set according to the first parallel light intensity value, and the light intensity of the skylight is set according to the first sky light intensity value.

3. The method according to claim 1, characterized in that: Before rendering the resource effect of the verified resource under the preset color verification condition, the method further includes: Acquire a comparison resource corresponding to the color verification condition, and add the comparison resource, wherein the comparison resource includes a ground resource whose color is the second color and whose material is a non-reflective material; Accordingly, rendering the resource effect of the resource to be verified under the preset color verification condition to perform color verification on the resource to be verified includes: The resource effects of the verified resource and the comparison resource are rendered under the color verification condition to perform color verification on the verified resource.

4. The method according to claim 1, characterized in that: The method further comprises: Determine second ambient light information corresponding to the texture verification condition, wherein the second ambient light information includes a second ambient light ratio, an ambient light color temperature, and a second light intensity sum; Based on the second ambient light ratio and the second light intensity sum, a second parallel light intensity value and a second daylight intensity value are calculated, and the light intensity of the parallel light is set according to the second parallel light intensity value, the light intensity of the skylight is set according to the second daylight intensity value, and the color temperature of the parallel light and the skylight is set according to the target ambient light color temperature; The resource effect of the verified resource is rendered under the texture verification condition to perform texture verification on the verified resource.

5. The method according to claim 4, characterized in that The determining of the second ambient light information corresponding to the texture verification condition includes: Determining at least one texture verification condition according to at least one application environment corresponding to the verified resource; In a preset ambient light configuration table, second ambient light information matching each texture verification condition is searched, wherein the preset ambient light configuration table includes ambient light ratios and ambient light color temperatures under multiple environments determined according to preset lighting rules.

6. The method according to claim 4, characterized in that Before rendering the resource effect of the verified resource under the texture verification condition, the method further includes: A texture verification condition map corresponding to the texture verification condition is obtained, and the environment map of the sky box is replaced with the texture verification condition map.

7. The method according to any one of claims 1 to 6, characterized in that Before setting the ambient light and ambient light intensity information for resource verification, the method further includes: Set the asset validation tool's auto-exposure feature to off, and set all post-processing effects except tone mapping to off.

8. A resource verification device, characterized in that: Applied to a resource verification tool, the device comprises: An ambient light setting module, used to set the ambient light for resource verification, wherein the ambient light includes parallel light and sky light; A skybox setting module, used for opening a skybox and setting an environment map of the skybox to a cube map of a first color; an illumination information setting module, used for acquiring first ambient light information corresponding to a color verification condition, and setting illumination intensities of the parallel light and the skylight according to the first ambient light information; The verification module is used to add a verified resource and render the resource effect of the verified resource under the color verification condition to perform color verification on the verified resource.

9. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. A computer device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.