StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
150 stars 3 forks source link

Allow changing gel colors mid-map #245

Open vrad-exe opened 4 years ago

vrad-exe commented 4 years ago

Changing the paint_color cvars should take effect immediately, instead of requiring you to restart the map or load a save. This would be important for #127, since maps will want to set the color of the custom gel.

StefanH-AT commented 4 years ago

This is probably related to paintmaps storing the actual paint rgb color on each luxel rather than the paint enum index. We want to optimize this anyways to reduce memory and enable paint on every map