-
Notifications
You must be signed in to change notification settings - Fork 345
Closed
Labels
E2This issue is related to E2This issue is related to E2
Description
Suggestion for a brand-new E2 Extension: material or materialcore. Its purpose is quite simple, to create materials.
Would need some restriction to avoid abuse but it should be overall somewhat simple. 16 is probably enough for default but a convar should be used.
The internal name of the material should probably be formatted something like wire_playerAccountID_index.
Sample functions:
string = materialCreate(index, string basematerial, string shader, table args)advanced format (basically 1:1 ofCreateMaterial)string = materialCreate(index, string basematerial, width, height, x, y)simple format (shader defaults to vertexlitgeneric)materialSetParam(index, string key, string value)sets a single shader parameter
Not sure if the shader parameter will cause any issues, just thought it could be neat.
Metadata
Metadata
Assignees
Labels
E2This issue is related to E2This issue is related to E2