US 12,148,335 B2
Method for image rendering, terminal device and non-transitory computer-readable storage medium
Libin Liu, Zhejiang (CN); and Jiaheng Wang, Zhejiang (CN)
Assigned to NETEASE (HANGZHOU) NETWORK CO., LTD., Zhejiang (CN)
Appl. No. 18/249,744
Filed by NETEASE (HANGZHOU) NETWORK CO., LTD., Zhejiang (CN)
PCT Filed Apr. 19, 2021, PCT No. PCT/CN2021/088188
§ 371(c)(1), (2) Date Apr. 20, 2023,
PCT Pub. No. WO2022/083081, PCT Pub. Date Apr. 28, 2022.
Claims priority of application No. 202011126324.1 (CN), filed on Oct. 20, 2020.
Prior Publication US 2023/0410706 A1, Dec. 21, 2023
Int. Cl. G09G 3/00 (2006.01)
CPC G09G 3/007 (2013.01) [G09G 2300/0452 (2013.01); G09G 2320/0233 (2013.01); G09G 2320/0626 (2013.01)] 15 Claims
OG exemplary drawing
 
1. A method for image rendering, applied to a terminal, comprising:
acquiring at least two target environment brightnesses by performing interpolation on first environment brightness of the terminal in a first environment and second environment brightness of the terminal in a second environment in response to detecting that the terminal switches from the first environment to the second environment;
acquiring at least two target lightnesses according to the at least two target environment brightnesses;
rendering an image frame to be displayed on the terminal in sequence according to the at least two target lightnesses;
wherein the rendering the image frame to be displayed on the terminal in sequence according to the at least two target lightnesses comprises:
acquiring, by using a shader of the terminal, at least two target colors of each pixel point under the at least two target lightnesses, according to each target lightness and an original color of the each pixel point in the image frame to be displayed on the terminal;
rendering the image frame to be displayed on the terminal in sequence according to the at least two target colors.