Hey im trying to make full screen 2D image withu custom material like in shadertoy.com. Is that possible? I dont see anything related to GUI image material, or resizing plane to match canvas size, nor Layers having custom material.
Hello and welcome!
you can do full screen image like that with custom shaders (like using nme with post process):
You can also just write your own shader by hand by porting shadertoy shader code to ShaderMaterial
These could help:
- thread on shadertoy: How could i port this babylon js shader?
- port of a shadertoy shader to the NME:
- PG: https://playground.babylonjs.com/#7CR6WZ#2
- Node material: https://nme.babylonjs.com/#8MNHL1#4
2 Likes
Thank you.
https://playground.babylonjs.com/#AGZ10W#7 Thad solved my issue
1 Like