![]() |
|
Texture color channels and Starfall - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Feedback (https://teamscm.co.uk/forum-9.html) +--- Forum: Suggestions and improvements (https://teamscm.co.uk/forum-11.html) +--- Thread: Texture color channels and Starfall (/thread-3731.html) |
Texture color channels and Starfall - The17thDoctor - 27-01-2022 I was wondering if gmod/source allowed to split the textures loaded in into their R G B A channels and if so, is a starfall implementation possible in order to manipulate those channels ? My main example was for example to take in a texture, separating the alpha channel and overriding another texture's. This would (I think) allow for great texture manipulation opportunities. RE: Texture color channels and Starfall - Avorius - 27-01-2022 If I'm reading this right, and not going a bit insane, this would be quite useful for emitter based applications too RE: Texture color channels and Starfall - The17thDoctor - 27-01-2022 (27-01-2022, 01:07 PM)Avorius Wrote: If I'm reading this right, and not going a bit insane, this would be quite useful for emitter based applications too It would be useful for any rendering based code so screens ; emitters ; HUDs RE: Texture color channels and Starfall - Person8880 - 27-01-2022 It's not possible to get the individual channel data from a texture, nor to create textures other than by drawing to render targets. There's an open issue in the GMod request tracker for it that's not had any answer for years sadly. RE: Texture color channels and Starfall - The17thDoctor - 27-01-2022 This is kinda sad, could've been a nice thing to have. |