shaderViewport with shaderLamp

  • #1, z red363Sunday, 09. April 2023, 02:07 hodinky 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

    Fanoušek fóra

    101 Posts