How to add render_to_texture to entity?

i cann’t do it. i have the scripts. but the cubes don’t show the renders

https://playcanvas.com/editor/scene/580491

i have 2 entities with reonder-to-texture in different posicion… but look it same :frowning:

https://playcanvas.com/editor/scene/581149

Hey need use 2 materials :slight_smile: http://prntscr.com/i1vjhx

1 plane = 1 material :smile: