跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[游戏开发] 在 Unity 中能做到通过程序修改模型的纹理吗

发表于

我是一个业余的游戏程序,现在有一个需求是这样的:在一个场景里同时有非常多的船,都使用同一个模型,除了船身上的舷号不一样,其余部分完全一样。如果仅仅是因为舷号不同就给每艘船一个单独的纹理感觉很没必要,所以在考虑能不能实现用程序在运行时去修改模型的纹理。 我考虑的方案大概是这样:有一个从 0~9 数字的纹理图片,在程序里按照舷号数字计算出要显示哪一部分,然后拼起来。但具体怎么实现,我感觉还有不少要解决的问题,希望大佬们能给我提些建议和方向。 本人对游戏开发比较小白,上面问题描述不专业还请海涵 qwq 。

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.