Methods and apparatus for generating grass textures, storage media, and electronic devices.

CN115131490BActive Publication Date: 2026-07-17NETEASE (HANGZHOU) NETWORK CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NETEASE (HANGZHOU) NETWORK CO LTD
Filing Date
2022-06-27
Publication Date
2026-07-17

Smart Images

  • Figure CN115131490B_ABST
    Figure CN115131490B_ABST
Patent Text Reader

Abstract

This disclosure relates to a method, apparatus, storage medium, and electronic device for generating grass textures, and pertains to the field of game technology. The method includes: performing coordinate separation on basic spatial UV information to obtain first horizontal UV information and first vertical UV information; performing a remainder operation on the first vertical UV information to obtain second vertical UV information; distorting and scaling the first horizontal UV information based on the channel value of the U channel in the viewport UV texture and the second vertical UV information; performing a remainder operation on the distorted and scaled first horizontal UV information to obtain second horizontal UV information; recombining the second horizontal UV information and the second vertical UV information to obtain first grass UVs; and performing texture sampling on the first grass UVs to obtain a first grass texture. This disclosure improves the three-dimensionality of grass textures.
Need to check novelty before this filing date? Find Prior Art