250318

lililllilillll·2025년 3월 18일

개발 일지

목록 보기
114/350

✅ What I did today


  • Project BCA


🎮 Project BCA


  • 방 구조 수정 및 연출 수정
  • area light는 static만 bake 가능, dynamic object는 그럼 어떻게 bake?
    • static으로 두고 bake한 후에 static 푸는 우회책 존재. <- Scale up 했을 때 지속 불가능한 방법.
    • rendering mask를 지정한 Directional Light로 특정 오브젝트만 비추도록 설정
  • 블랜더에서 연결된 버텍스들 선택 : L

Ending room

열심히 해서 깼는데 겨우 이정도 엔딩이면 화날 것 같아서 폐기하거나 수정하기

탈출을 하더라도 자연으로 하면 안됨.
기존 post processing 효과가 밖을 칙칙하게 만듦.
암전이나 잠깐 밝아진 뒤 global volume을 슬쩍 수정할 수도 있겠지만 어색할듯.

Credit roll

    void Start()
    {
        canvasHeight = canvas.GetComponent<RectTransform>().rect.height;
        credit_text.rectTransform.localPosition = new Vector3(credit_text.rectTransform.localPosition.x, -canvasHeight, credit_text.rectTransform.localPosition.z);
        StartCoroutine(CreditRollCoroutine());
    }

    private IEnumerator CreditRollCoroutine()
    {
        // 크레딧 롤 올라감
        Vector3 start_position = credit_text.rectTransform.localPosition;
        Vector3 end_position = new Vector3(start_position.x, credit_text.rectTransform.rect.height - canvasHeight / 2, start_position.z);

        float elapsed_time = 0f;

        while (elapsed_time < credit_roll_time)
        {
            credit_text.rectTransform.localPosition = Vector3.Lerp(start_position, end_position, elapsed_time / credit_roll_time);
            elapsed_time += Time.deltaTime;
            yield return null;
        }

        credit_text.rectTransform.localPosition = end_position;
    }

별도의 크레딧 씬으로 넘어가서 크레딧 롤 연출



profile
너 정말 **핵심**을 찔렀어

0개의 댓글