5 ms·
Does anyone know if Godot can play a live video stream with graphics drawn on top?
by jbritton 6y ago
Does anyone know if Godot can play a live video stream with graphics drawn on top?
- madshiva 6y agoSure it's easy.
- follower 6y agoI think that's possible. From a quick search there's this: https://docs.godotengine.org/en/stable/classes/class_videoplayer.html https://docs.godotengine.org/en/stable/classes/class_videopl... (But that may not be a live stream, necessarily, I guess.) Also there's this that may be relevant: https://docs.godotengine.org/en/stable/classes/class_spatialmaterial.html#class-spatialmaterial-property-flags-use-shadow-to-opacity https://docs.godotengine.org/en/stable/classes/class_spatial... The latter is documented as: """ [...] enables the "shadow to opacity" render mode where lighting modifies the alpha so shadowed areas are opaque and non-shadowed areas are transparent. Useful for overlaying shadows onto a camera feed in AR. """