Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
blizzzz's avatar
blizzzz
Honored Guest
9 years ago

4.11-OFR / spotlights?

I know that the 4.11-ofr is "use at own risk" but I've been using it and wondering if spotlights are supported? They are not working as expected.

Thanks in advance,

2 Replies

Replies have been turned off for this discussion
  • vrdaveb's avatar
    vrdaveb
    Oculus Staff
    All shaders that use gbuffers are unsupported. It isn't hard to implement a per-pixel spotlight for a forward renderer along these lines.
  • blizzzz's avatar
    blizzzz
    Honored Guest
    Looks like the framework is there.. but this is a job for a rendering engineer. I'll be forwarding the details onward and upward.

    From "ClusteredShadingRenderer.cpp"

    // If you want spotlights, make sure to enable them in the shaders as well.
    bool const bSpotLightsEnabled = false;