Archive 17/01/2023.

Has anyone used a texture projector shader in Urho?

mustacheemperor

Hello folks,

I’m experimenting with shaders in Urho a bit and I’d like to create an effect similar to Unity’s Projector component, which displays a texture mapped onto the mesh it is pointed at. I found a couple resources online, including this StackOverflow link that seems to have a lot of what I need. But that’s not an urho-specific answer, and I’m new enough to working with shaders that I’m having some trouble understanding it sufficiently to translate that information to use in urho. I was wondering if anyone has previously worked with a similar shader effect in Urho or could point me in the right direction for adapting the one in the link.