How do I reference a different texture in fragshader.

Get help using Construct 2

Post » Wed Dec 23, 2015 9:28 pm

Hey all,

I was curious if anyone knew how to reference a different texture in the fragshader. I want to make a bloom shader with lens dirt but I can't figure out how to pull anything except samplerFront and samplerBack.

I also want to make a color adjuster that references an rgb sheet to swap colors, and a more simplified shader to emulate pixel palettes. I would prefer to do this via references to an alternate texture but can't figure out how to pull it in.

If it is impossible to reference another texture besides samplerfront and back, then I think this would be a very good feature to have.
Image
B
33
S
11
G
2
Posts: 564
Reputation: 5,173

Return to How do I....?

Who is online

Users browsing this forum: zenox98 and 27 guests