想問如何可以將ramp轉為可受Light color變化而作出改變?
因為是近似Toon Shader的關系?thx
版主: h2o
俏女傭 寫:想問如何可以將ramp轉為可受Light color變化而作出改變?
因為是近似Toon Shader的關系?thx
stantang 寫:俏女傭 寫:想問如何可以將ramp轉為可受Light color變化而作出改變?
因為是近似Toon Shader的關系?thx
you can use the SurfaceLuminance node to pass out the luminance data to the ramp...
HammerChugoh 寫:perhaps you want to tell us more about what do you mean by controlling by light color, basic idea is to extract the difference from your light color (e.g. saturation, how much red or blue)that you want to use as a controller then plug it as a input to V axis of the ramp, use it as a index on picking your ramp color.
俏女傭 寫:stantang 寫:俏女傭 寫:想問如何可以將ramp轉為可受Light color變化而作出改變?
因為是近似Toon Shader的關系?thx
you can use the SurfaceLuminance node to pass out the luminance data to the ramp...
thx!stantang兄,但這方法己經采用中,只適合intensity多少的變化,而不是顏色的變化!
正在瀏覽這個版面的使用者:沒有註冊會員 和 18 位訪客