View Full Version : Detail shader opacity
fletcher77
August 10th, 2007, 12:29 PM
I have been trying to figure out how to get one of the detail maps to transition its opacity. I don't know if it is posible. I see the settings for size and direction. But I don't see how to do opacity(visible to invisible). How would I go about this? What shader should I try.
Ki11a_FTW
August 10th, 2007, 01:05 PM
i dont think you can :-l
et_cg
August 10th, 2007, 11:00 PM
For opacity, you have to change the tones of your alpha channel. (alpha channels are only allowed to have a greyscale value - blacks, whites, and anywhere in between, but no color)
I don't really pay much attention to which channel does what, but I believe the values that have white in them (dark grey and up) is the channel the first detail map relates to, and values that have black in them (grey to black), are relative to the second detail map.
So if you want to change the detail maps opacity, you must change the color values used, whether it's a gradiented white to black, or a mainly black, or mainly white alpha channel. It's all up to which detail map you want to show up the most.
fletcher77
August 11th, 2007, 12:11 AM
For opacity, you have to change the tones of your alpha channel. (alpha channels are only allowed to have a greyscale value - blacks, whites, and anywhere in between, but no color)
I don't really pay much attention to which channel does what, but I believe the values that have white in them (dark grey and up) is the channel the first detail map relates to, and values that have black in them (grey to black), are relative to the second detail map.
So if you want to change the detail maps opacity, you must change the color values used, whether it's a gradiented white to black, or a mainly black, or mainly white alpha channel. It's all up to which detail map you want to show up the most.
I under stand how the alpha works and how the detail maps are assigned to gray scale values. I was wondering once they are assigned can you affect the way they appear, besides movement and scale. I have been trying to understand how some of the rocks have bits in them that glow brighter then fade. I have been trying to achieve the same affect. I don't know if its a special shader or a setting in the shader.
et_cg
August 11th, 2007, 06:07 PM
A glow, is relative to self-illumination mapping, and animating its light values. All of this is in illum shaders. (usually)
The shader used to make a rock that glows with a flicker can be used on a street sign, too.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.