Render Target Texture with Glow effect

Hi!
I’ve seen people asking whether we can have glow effect in rtts but the glow layer is unfortunatelly applied only after all scenes has been rendered. It seems that with a little tweaking we can have an rtt texture with glow:
https://demos.babylonjs.xyz/rtt-glow/#/

EDIT:
New approach:
https://playground.babylonjs.com/#305KCT#6

OLD approach:
This a quick and dirty hack using the original glow layer source code (Frankenstein like :-D) so you’ve been warned before entering:

Hope this will help someone else too!

R. :vulcan_salute:

7 Likes

WOAAAAAAAAAAAH! Looks incredible! :smiley:

2 Likes

So getting the glow to an RTT is this simple after all:
https://playground.babylonjs.com/#305KCT#6

3 Likes