home | help
mesh_shader(3)			  Arcan Lua API 		  mesh_shader(3)

NAME
     mesh_shader - Change the active shader for a submesh of a model

SYNOPSIS
     nil
     mesh_shader( mesh, shid, slot )

DESCRIPTION
     Each  3D-model  can have a number of meshes (grouped primitives) associated
     with it. Each such mesh can also have a custom set of  processing	instruc-
     tions ("shader"). This function is used to associate a prebuilt shader with
     an individual mesh slot of a 3D model.

SEE ALSO:
     build_shader(3) image_shader(3) shader_ugroup(3) shader_uniform(3)

3d				   August 2026			  mesh_shader(3)

home | help