Patent ID: 11893221
Assignee: LEMON INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method for generating a texture shader, the method comprising:
reading a configuration file for the texture shader, the configuration file identifying a plurality of parameters that affect rendering characteristics of the texture shader;
generating a user interface for editing the texture shader based on the configuration file, wherein generating the user interface comprises:
for each of the plurality of parameters that is adjustable, determining a widget type for the adjustable parameter, and
generating a corresponding widget of the determined widget type for each of the adjustable parameters;

displaying the user interface for editing the texture shader, including:
displaying the generated widget for each adjustable parameter of the plurality of parameters, and
applying the texture shader to an input image using current values of the plurality of parameters to generate a preview of the texture shader;

receiving, via at least one widget for the adjustable parameters, a user input that changes a value of a corresponding adjustable parameter of the plurality of parameters;
applying the texture shader to the input image using the changed value of the adjustable parameter to generate the preview of the texture shader;
displaying the preview of the texture shader applied to the input image;
receiving, via the at least one widget for the adjustable parameters, another user input that activates a facial occlusion widget;
applying the texture shader to the input image using the changed value of the adjustable parameter to generate a second preview of the texture shader, wherein the facial occlusion widget that, when activated, omits identified facial regions of the input image from application of the texture shader, the identified facial regions not being obscured by the effects of the texture shader; and
displaying the second preview of the texture shader applied to the input image.