Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > Plugin Requests
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

Outputting one material channel to another

 Post Reply Post Reply
Author
Message
Makbeth View Drop Down
Member
Member


Joined: 2007 Dec 21
Online Status: Offline
Posts: 4
Post Options Post Options   Quote Makbeth Quote  Post ReplyReply Direct Link To This Post Topic: Outputting one material channel to another
    Posted: 2010 Jun 29 at 2:51am
Hi guys,

I'm approaching the end of an animation project, and I'm attempting to animate a material for a flow effect. The effect is a glowing liquid that relies on a series of bitmaps that drive the alpha and luminance channels, and layered gradients will control the local strength of each. The data in the alpha and luminance>colorizer shader needs to be the same at all times.

I thought that I would be able to use Xpresso to import the alpha's output to the colorizer shader in luminance, but for some reason Xpresso doesn't support inputing actual texture data to ANY material channels or shaders at all. It's the first use of Xpresso with materials that I would have thought should be allowed, but where this key feature should be, there is a giant hole in the software.

I have some experience with text-based scripting in other software, but I don't have time to learn the particulars of Coffee for this project. Is it possible to output the alpha to a colorizer shader with COFFEE? What would the code look like?

It only has to be good enough to make the luminance colorizer match the alpha of this material for the duration of the animation. I would think that it's a matter of just saying ~ Colorizertexture=alphatexture and whatever other stuff is needed to identify the material and initialize whatever needs initializing.

If anyone can help or point out what I need to do that would be awesome. Thanks.
Back to Top
affa View Drop Down
Member
Member


Joined: 2005 Mar 03
Location: Germany
Online Status: Offline
Posts: 68
Post Options Post Options   Quote affa Quote  Post ReplyReply Direct Link To This Post Posted: 2010 Jun 29 at 11:37pm
perhaps you want to have a look at our Reference Shader
http://blackstar-solutions.de/index.php?id=4

Edited by affa - 2010 Jun 29 at 11:38pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.094 seconds.