PDA

View Full Version : Reflection threshold in shader


JamesMK
09-23-2003, 01:12 AM
Just wondering...

Would it be possible to create a channel shader specifically for use in the reflection channel so that it would only reflect incoming samples that exceed a certain set luminance value?

What I'm thinking of here would be a method to make a material very reflective, but it would only reflect stuff that was bright enough, perhaps also including non-clamped input.

Could it be done with the standard shaders and SLA? If not, could it be done using some custom coffee code?

I wrote a VirtuaLight shader once that worked this way, and it was very useful - sort of like the best parts of raytraced reflection and standard specularity all rolled into one.

LucentDreams
09-23-2003, 01:30 AM
haven't tried it myself, I"m sure it could be done, I would start with lumas in the reflection channel, but that wouldn't be brightness from objects only lights :/

JamesMK
09-23-2003, 07:26 AM
Hmm, that's actually a good starting point... Could be worth trying. Thanks Kai!

CGTalk Moderation
01-16-2006, 04:09 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.