refactor: 캐릭터 이름을 구름·물방울로, 카드 스틸을 글자 없는 3D 장면으로, 앱 스크린샷 파일 삭제
This commit is contained in:
1 parent
f2eed74e9d
commit
c1d2d7c74a
18 files changed
+33
-34
No files matched your search
@@ -1,4 +1,4 @@
|
||||
// 날씨각 캐릭터 (career/shorts/nalssigak-shorts 에서 가져옴): 보송 = 맑은 날파 초록 털뭉치(셸 텍스처 퍼), 말랑 = 비 오는 날파 반투명 파란 젤리
|
||||
// 날씨각 캐릭터 (career/shorts/nalssigak-shorts 에서 가져옴): 구름 캐릭터 = 맑은 날파 초록 털뭉치(셸 텍스처 퍼), 물방울 캐릭터 = 비 오는 날파 반투명 파란 젤리
|
||||
import * as THREE from 'three';
|
||||
import { mergeGeometries } from 'three/addons/utils/BufferGeometryUtils.js';
|
||||
|
||||
@@ -76,8 +76,8 @@ function fur() {
|
||||
return furGeo;
|
||||
}
|
||||
|
||||
/** 보송. 돌려주는 값: { group, eyes, uniforms(uTint 0~1 노을, uNight 0~1 밤) } */
|
||||
export function makeBosong(shells = 34) {
|
||||
/** 구름 캐릭터. 돌려주는 값: { group, eyes, uniforms(uTint 0~1 노을, uNight 0~1 밤) } */
|
||||
export function makeCloud(shells = 34) {
|
||||
const uniforms = { uNoise: { value: noise() }, uRoot: { value: new THREE.Color(0x1f8a1a) }, uTip: { value: new THREE.Color(0x8ef06a) }, uWarm: { value: new THREE.Color(0xff9a4a) }, uTint: { value: 0 }, uNight: { value: 0 } };
|
||||
const group = new THREE.Group();
|
||||
const body = new THREE.Group();
|
||||
@@ -94,8 +94,8 @@ export function makeBosong(shells = 34) {
|
||||
return { group, eyes, uniforms };
|
||||
}
|
||||
|
||||
/** 말랑. 돌려주는 값: { group, eyes, arms, front, back } — front.color 를 바꾸면 전체 색이 바뀐다 */
|
||||
export function makeMalang(envMap) {
|
||||
/** 물방울 캐릭터. 돌려주는 값: { group, eyes, arms, front, back } — front.color 를 바꾸면 전체 색이 바뀐다 */
|
||||
export function makeDrop(envMap) {
|
||||
const group = new THREE.Group();
|
||||
const body = new THREE.Group();
|
||||
const front = new THREE.MeshPhysicalMaterial({ color: 0x7cbcff, transparent: true, opacity: 0.58, roughness: 0.06, metalness: 0, clearcoat: 1, clearcoatRoughness: 0.04, envMapIntensity: 1.6, iridescence: 0.25, depthWrite: false, envMap });
|
||||
|
||||
Reference in new issue
Block a user