You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your enhancement suggestion in more detail
Currently $color, at least via pulling ConVar values, requires a 0-1 color range, but this breaks cvars such as cl_portals_sp_primary_color and cl_portals_sp_secondary_color, as those require a 0-255 color range. Allowing the material proxy to utilize both 0-1 and 0-255 range would be great for cvar pulling or other material proxy shenanigans
The text was updated successfully, but these errors were encountered:
craftablescience
changed the title
Enhancement: Add Multiply for $color
Enhancement: Add optional multiplier parameter for ConVar material proxy
Jan 9, 2025
This doesn't really need to be built in? Define a material var with a custom name, write to that, then use a Multiply proxy after MaterialModify to do the multiplication. You could even just keep the one variable, and use it both for srcVar1 and resultVar.
What would this enhancement be for?
Rendering
Describe your enhancement suggestion in more detail
Currently
$color
, at least via pulling ConVar values, requires a 0-1 color range, but this breaks cvars such ascl_portals_sp_primary_color
andcl_portals_sp_secondary_color
, as those require a 0-255 color range. Allowing the material proxy to utilize both 0-1 and 0-255 range would be great for cvar pulling or other material proxy shenanigansThe text was updated successfully, but these errors were encountered: