shaderViewport with shaderLamp

  • #1, by red363Sunday, 09. April 2023, 02:07 A year ago
    Hello

    I am using shaderViewport (zoom). Is it possible to make the shader lamp stay in place during this process? (in fact, they just remain in their original coordinates. But they need to be fixed on the lamps ... that is, they do not respond to zoom)

    bind function does not help in my case...

    bind("light1", "lights[1].position", shaderPoint(inverty(scrollfix(field("{x, y}"))), 1))

    Thanks

    Forum Fan

    101 Posts