unreal procedure texture 输出到rendertarget
主要使用rendertarget

把color的眼睛勾上,就可以在运行的主界面看到

然后运行,就能看到结果了。

然后是shader,有个抠脚小知识。

像素输出到emissive color上,但是不是base color。
base color需要有光照上去,然后反射光,因为无光源,就只能自发光了。
因为unreal是高度模拟现实发光,不在是写opengl的颜色自己定了。
如果链接base color ,因为没有光源,渲染的rendertarget返回一团黑。
但是在unreal的material中不会那样,因为他自动处理为0~255。