Need some help with how to pull off a dynamic light for a specific application
by NiN-NiN · in Torque 3D Beginner · 05/13/2014 (7:01 pm) · 1 replies
Hi Guys
I have been building a Cinema application in T3D which uses the Awesomium addon.
If you are unsure how this works you can put #webbrowsertexture as a texture name and it updates the textures on a model constantly.
Now when your in a dark cinema you have light that flashes near the screen according to what's being projected.
I want to have a light that changes colour based on whats on the screen but I have no idea how to go about it.
I was thinking of maybe using a cookie from a point light but that uses a image and not the material system.
I wasn't sure if i could use it anyway but when i tried to even apply a cookie to a point and spot light using just an image i didn't get anything which makes me think that cookies don't work?
Does anyone has any idea on how I could go about this? I really thought the cookie idea would of possibly worked but it seem like that doesn't work.
Any ideas from anyone on how to approach this?
I have been building a Cinema application in T3D which uses the Awesomium addon.
If you are unsure how this works you can put #webbrowsertexture as a texture name and it updates the textures on a model constantly.
Now when your in a dark cinema you have light that flashes near the screen according to what's being projected.
I want to have a light that changes colour based on whats on the screen but I have no idea how to go about it.
I was thinking of maybe using a cookie from a point light but that uses a image and not the material system.
I wasn't sure if i could use it anyway but when i tried to even apply a cookie to a point and spot light using just an image i didn't get anything which makes me think that cookies don't work?
Does anyone has any idea on how I could go about this? I really thought the cookie idea would of possibly worked but it seem like that doesn't work.
Any ideas from anyone on how to approach this?
Torque Owner Daniel Buckmaster
T3D Steering Committee