Get it on Google Play


Wm뮤 :: '분류 전체보기' 카테고리의 글 목록 (21 Page)

블로그 이미지
가끔 그림그리거나 3D모델링하거나
취미로 로봇만드는
전자과 게임프로그래머 (퇴사함)
2022.3.22f1 주로 사용
모카쨩
@Ahzkwid

Recent Comment

Archive


2024. 2. 27. 09:09 게임/VRChat

 

텍스처 메모리가 성능에 영향이 크다는 루머는 도는데

아무리 찾아봐도 뇌피셜로 그럴것이다하는 추측성 자료들만 존재하고

얼마나 성능에 영향을 주는지 테스트한 자료가 전혀 보이지 않아서 테스트 해보았다

 

 

 

 

 

 

 

사용된 코드 

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TextureMemoryTest : MonoBehaviour
{
    public Renderer renderTarget;
    public Texture[] textures;
    public int max = 800;
    public bool useTexture = false;
    // Start is called before the first frame update
    void Start()
    {

        var wid = (int)Mathf.Sqrt(textures.Length);
        var i = 0;
        foreach (var texture in textures)
        {
            var instance = Instantiate(renderTarget.gameObject);
            if (useTexture)
            {
                instance.GetComponent<Renderer>().material.SetTexture("_MainTex", texture);
            }
            var x = i % wid;
            var y = i / wid;
            instance.transform.position = new Vector3(x * 0.5f, y * 0.5f, i * 0.01f);

            i++;
            if (i>max)
            {
                return;
            }
        }
        renderTarget.gameObject.SetActive(false);

    }

}

 

 

 

-테스트 환경-

CPU : 라이젠 5 1600

메모리 : 32GB 1333Mhz

GPU : RTX 3050 8GB

 

4k~8k 텍스처 800장 사용

사용된 텍스처 메모리는 14GB

 

있긴 있는데 무시해도 될정도로 작다

밉맵에 걸려서 그런지 드라이버 단에서 로드를 막는건지

텍스처 메모리는 그래픽 카드 메모리의 2배나 됨에도 불구하고

문제가 전혀 발생하지 않는다

처리량이 최소인 언릿에서도 별 차이 없는데

라이트 처리가 들어가는 스탠다드나 툰쉐이더등에서는 차이가 더 적을것이다

오히려 저 많은 텍스처들을 띄우느라 드로우콜이 엄청나게 늘어나는 바람에 

일부러 바보같이 프래그단에서 tex2D함수를 수십번씩 호출하거나 밉맵 다 끄고 쓰거나 카메라 바로앞에 캐릭터가 1000명 서있거나 하지 않는이상이야

일반적인 상황에서는 버텍스와 드로우콜, 쉐이더만 신경 쓰면 될것이다

 

실제로 일부 집회에서는 이 말만 믿고 텍메로 입장제한을 걸었으나 당연하게도 전혀 효과가 없었다

오히려 요샌 텍메만 딸랑 조절해놓고 다른건 하나도 안 건들어서 렉이 더 심해진듯

 

 

게임개발자는 다들 이론적으로는 알고있어서 아무래도 좋을 이야기지만

vrchat에서 논란이 되길래 테스트 해봄

애초에 최적화기법이라는것은 cpu나 gpu의 연산량을 가급적 메모리로 전환하는게 기본이다

 

이렇게 복잡하게 생각할 필요없이 그렇게 중요한 요소였으면

유니티측에서 Stats탭에 드로우콜과 함께 텍스처 메모리도 같이 표시해줬을것이다(...)

 

 

 

 

 

이렇게까지 해줘도 못 믿는 사람들 있을거 같아서

직접 눈으로 볼 수 있도록

아래에 4k텍스처로 도배한 캐릭터들을 세워둔 월드도 공개했다

https://vrchat.com/home/world/wrld_10abac1c-0493-4822-9426-e0f1a5eeedd3

 

VRChat - Home

 

vrchat.com

 

 

 

 

 

 

 

#태그

 VRChat 텍메 최적화

 

 

'게임 > VRChat' 카테고리의 다른 글

VRChat 아바타 업로드 2024  (0) 2024.02.28
VRChat 아에이오우만으로 립싱크 설정  (0) 2024.01.20
부스 출시전 검토 사항  (0) 2024.01.13
posted by 모카쨩
2024. 2. 26. 17:52 3D/서브스탠스 페인터

 

 

 

 

해당 버튼 눌러서 PSD로 뽑을수 있다

 

 

내보낸건 좋은데 색감이 다 빠지는 거지같은 문제가 생긴다

 

 

 

 

주의할점은 또 이렇게 하면 기존색이 다 개박살 난다

정말 필요하다면 파트별로 한장씩 텍스처를 구워서 내보내는수밖에...

posted by 모카쨩
2024. 2. 25. 07:38 3D/서브스탠스 페인터

 

 

 

노말레이어 기본값은 NMdt인데 Normal로 변경하여 사용하면 된다

 

 

 

 

적용된 모습

posted by 모카쨩
2024. 2. 24. 07:07 Unity

 

 


ImportFBX Warnings:
Can't generate normals for blendshape 'BreastsSmall' on mesh 'Shirt', mesh has no smoothing groups.Can't generate normals for blendshape 'Breasts_big' on mesh 'Shirt', mesh has no smoothing groups.Can't generate normals for blendshape 'Breasts_normal' on mesh 'Shirt', mesh has no smoothing groups.Can't generate normals for blendshape 'Chira' on mesh 'Shirt', mesh has no smoothing groups.Can't generate normals for blendshape 'Hutomomo' on mesh 'Shorts', mesh has no smoothing groups.Can't generate normals for blendshape 'Length' on mesh 'Shorts', mesh has no smoothing groups.Can't generate normals for blendshape 'MoveY' on mesh 'Hairpin', mesh has no smoothing groups.Can't generate normals for blendshape 'MoveYm' on mesh 'Hairpin', mesh has no smoothing groups.Can't generate normals for blendshape 'MoveZ' on mesh 'Hairpin', mesh has no smoothing groups.Can't generate normals for blendshape 'MoveZm' on mesh 'Hairpin', mesh has no smoothing groups.Can't generate normals for blendshape 'SleeveLeft' on mesh 'Shirt', mesh has no smoothing groups.Can't generate normals for blendshape 'SleeveRight' on mesh 'Shirt', mesh has no smoothing groups.Can't generate normals for blendshape 'UseBra' on mesh 'Shirt', mesh has no smoothing groups.
(Filename: C:\build\output\unity\unity\Modules\AssetPipelineEditor\Public\ModelImporting\FBXImporter.cpp Line: 383)

 

 

 

작동엔 이상없으니 스킵했다

 

 

 

보다시피 Shirt 오류인데

 

 

 

당연히 블렌더상에서는 전혀 이상없다

 

 

 

먼저 쉐이프키를 다 지우니까 안 뜬다

즉 쉐이프키 오류다

 

 

'Unity' 카테고리의 다른 글

게임개발용 부하테스트 2024  (0) 2024.02.27
매트캡 생성하기  (0) 2024.01.18
에셋스토어 업로드 거부사례 모음  (0) 2023.11.27
posted by 모카쨩
2024. 2. 18. 21:49

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.

2024. 2. 10. 15:06 3D/블렌더

 

 

 

 

고무줄 붙이기

https://twitter.com/happy_modeling/status/1747822030236659970

 

X의 ModelingHappy님(@happy_modeling)

Wrap Genモデルに用意したラップ用モデルをジオメトリーノードで綺麗にラップして調整出来るBlneder用ジェネレーター https://t.co/qkCAHLACsv ・複数モデルでもラップする事が可能 ・シュリンクラ

twitter.com

 

 

 

꼬리만들기

https://twitter.com/ranman_empire/status/1756027777940414531

 

X의 らんまん님(@ranman_empire)

ここ最近作っていたBlenderジオメトリノード製の「RM_CurveMorph」をGithubで公開しました! https://t.co/DRFHlRBBtn Githubにアカウント登録せずにダウンロードできます 不都合ありましたらお知らせくだ

twitter.com

 

 

 

 

 

 

 

고속도로 생성기

https://twitter.com/hiranoji/status/1773943636864233493

 

X의 平の字님(@hiranoji)

これは高速道路ジェネレーター procedual highway generator #b3d #geometrynodes

twitter.com

 

 

Shirink Shapekey 생성기

https://x.com/mio3io/status/1802538568600146276

 

 

 

 

초콜릿아이스바 생성방법

https://x.com/BlenderHub7/status/1803540565331493044

 

 

 

 

 

 

 

천옷시뮬

https://x.com/BlenderHub7/status/1803416423521288201

 

X의 BlenderHub님(@BlenderHub7)

🧥Cloth creation is such a breeze with the Simply Cloth Pro add-on.🩳 ➡️Available on BlenderMarket! 🔗https://t.co/Em1EPYFXW6 #b3d #geometrynodes #proceduralart #3dart #blender質 #3d #3Danimation #geonodes

x.com

 

 

 

 

 

 

 

 

https://x.com/BlenderHub7/status/1824407733841408060

 

X의 BlenderHub님(@BlenderHub7)

📢New Blender Addon You For you: 『Laces Generator』 👉Create shoelaces or ANY laces with Laces Generator. 🔗https://t.co/UfsNv9W8jM #b3d #geometrynodes #proceduralart #3dart #blender質 #3d #3Danimation #geonodes #B3D #Blender #Blender3D #Blender4

x.com

 

신발끈 생성기

 

 

https://x.com/BlenderHub7/status/1824813207753461783

 

X의 BlenderHub님(@BlenderHub7)

‼️Insane Free Blender Addon For you: ‼️ 💡Vehicle Rigging Addon👉Effortlessly Create Realistic Physics-Based Vehicle Rigs in Blender! 🔗https://t.co/IC1hQf8Ams #b3d #geometrynodes #proceduralart #3dart #blender質 #3d #3Danimation #geonodes

x.com

 

차량 물리 시뮬레이터

 

 

 

 

 

핫도그 양상추 만드는법

https://x.com/sparseal/status/1825863059308417244

 

 

https://x.com/BlenderHub7/status/1831194521004118296

찢청 텍스처 생성기

 

 

 

 

 

 

간단히 신발 밑창 표현하는법

https://x.com/realBeyondDev/status/1840481862512488747

 

X의 Beyond Dev - Tyler Walker님(@realBeyondDev)

Work smarter, not harder.

x.com

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

'3D > 블렌더' 카테고리의 다른 글

NYAへやぎセット 작업일지  (0) 2024.02.13
의상 웨이트 관련 자료  (0) 2024.01.26
パジャマワンピースセット 작업일지  (0) 2024.01.20
posted by 모카쨩
2024. 2. 10. 08:19 포토샵

 

 

 

 

 

 

-3D 기능을 사용하려면 '그래픽 프로세서 사용' 체크 오류

 

대강 들어봐선 편집>성능>그래픽 프로세서 사용체크해야할것 같지만 

이미 체크 되어있었다. 

그래서

https://helpx.adobe.com/kr/photoshop/kb/troubleshoot-gpu-graphics-card.html

이 링크대로 다 해봤지만 안 됐었다

 

 

https://helpx.adobe.com/photoshop/kb/3d-faq.html

이거 읽어보면 22.5부터 안 된단다

 

 

 

 

 

22.2 켜서 돌리니 잘 됐다

 

 

뻘짓의 일부

더보기

도움말에서 GPU 호환성 클릭

 

 

 

여기 있는 문제를 해결할거다

나는 드라이버가 구버전이라서 안 된단다

 

 

 

익스피리언스에서 업데이트 해줬다

 

근데 이거 해봐야 안 됨

 

'포토샵' 카테고리의 다른 글

포토샵 패스 반전  (0) 2024.09.30
포토샵 사진 펴기  (0) 2024.02.09
포토샵 AI 기능 사용법들  (0) 2024.02.09
posted by 모카쨩

저사양 유저용 블로그 진입