CompStart

Pro레슨코스엘리먼트소프트웨어

CompStart

최첨단 시각효과 기술을 마스터하세요.

학습

코스레슨Pro 기능에셋소프트웨어

Tools

Tech CheckDisplay CheckMotion BlurPhysLightNuke Tools

회사

Instructor미션사이트맵개인정보처리방침이용약관

프로젝트

Moray RenderEXR ConverterOCIO.ccNuke ToolsDerekVFX

Follow

YouTubeInstagramTikTokThreads문의

© 2026 CompStart. All rights reserved.

일반 조명

ToolSets / Draw
Draw

2026-09-07

ToolSets/draw/normalLight.nk

정상인
조명
그리다
다시 불을 붙이다
공익사업
일반 패스
GitHub에서 보기

일반 레이어에서 간단한 방향성 조명 반응을 생성하고, 축 회전 제어를 통해 방향을 지정합니다.

노멀 라이트는 들어오는 노멀 패스를 기본 조명 반응으로 변환합니다. 노멀 레이어를 선택한 다음 연결된 축 회전 컨트롤을 사용하여 조명 방향을 변경합니다.

그룹 내부에서 선택된 법선 벡터들은 무작위로 섞여 컬러매트릭스를 통해 축 월드 행렬과 곱해집니다. 결과는 단일 채널 RGB 이미지로 축소되고 클램핑됩니다.

완전한 3D 조명 설정이 필요하지 않을 때 빠른 방향 조명, 가이드 채우기 또는 법선에서 빛 감김 참조를 위해 사용하십시오.

Script code

set cut_paste_input [stack 0]
version 12.1 v5
push $cut_paste_input
Group {
name normalLight
tile_color 0x421010ff
selected true
xpos -14855
ypos 33563
addUserKnob {20 User l normalLight}
addUserKnob {41 in l "normal layer" T Shuffle18.in}
addUserKnob {41 rotate T Axis1.rotate}
addUserKnob {26 ""}
addUserKnob {26 lbl l "" +STARTLINE T "Normal Light v1.0"}
addUserKnob {22 btn l DerekVFX.ca T "nuke.tcl('start', 'https://derekvfx.ca')" +STARTLINE}
}
Axis2 {
inputs 0
rotate {0 229 0}
name Axis1
xpos 612
ypos 316
}
Input {
inputs 0
name Input
xpos 447
ypos 61
}
Shuffle {
name Shuffle18
label "\[value in]"
selected true
xpos 447
ypos 328
}
ColorMatrix {
matrix {
    {{parent.Axis1.world_matrix} {parent.Axis1.world_matrix} {parent.Axis1.world_matrix}}
    {{parent.Axis1.world_matrix} {parent.Axis1.world_matrix} {parent.Axis1.world_matrix}}
    {{parent.Axis1.world_matrix} {parent.Axis1.world_matrix} {parent.Axis1.world_matrix}}
  }
name ColorMatrix1
xpos 447
ypos 403
}
Shuffle {
green red
blue red
alpha red
name Shuffle1
label "\[value in]"
xpos 447
ypos 429
}
Clamp {
channels rgb
name Clamp1
xpos 447
ypos 479
}
Output {
name Output1
xpos 447
ypos 1055
}
end_group