Send a texture to a PostFx from engine
by Lukas Joergensen · in Torque 3D Professional · 01/27/2014 (2:12 am) · 3 replies
Edit: repurposed the thread
Hey guys.
I have a PostFx that is rendered after diffuse, and I'd like to send a texture (or rather a list of positions) to it.
Any ideas on how to do that?
Hey guys.
I have a PostFx that is rendered after diffuse, and I'd like to send a texture (or rather a list of positions) to it.
Any ideas on how to do that?
About the author
IPS Bundle available at: https://www.winterleafentertainment.com/Products/IPS.aspx
#2
Anw I realized my approach was flawed so now I need to figure out a way to run a shader for each light in the scene after diffuse has been rendered.
Any clues?
01/27/2014 (9:08 am)
Yeah, thats "shader to shader" passing tho.Anw I realized my approach was flawed so now I need to figure out a way to run a shader for each light in the scene after diffuse has been rendered.
Any clues?
#3
This is what I need:
I have a light, and I want to call a shader that can calculate the position of the light and the position of the eye.
I just don't know how to send it.
01/27/2014 (10:40 am)
Again revised my issue, now I just need to be able to call a PostFx.This is what I need:
I have a light, and I want to call a shader that can calculate the position of the light and the position of the eye.
I just don't know how to send it.
Francisco Montanes
Adaptive Systems
texture[0] = "#prepass";
texture[1] = "noise.png";
texture[2] = "#ssao_pow_table";