Тёмный

Your MATERIALS Are DESTROYING Your Game! 

Thomas Potter
Подписаться 22 тыс.
Просмотров 6 тыс.
50% 1

When making textures for games most people will make a separate material for each colour. When you do this it becomes very unoptimized, especially when making a big game where you could end up with hundreds of materials.
Okay but why is this bad?
Low Poly Character Course → skl.sh/3lI4vix
Get some Free Advice → / discord
Get Coached by ME → www.fiverr.com...
About Me:
I'm a 3D blender artist whos been doing blender for more than 5 years, I'm trying to teach you how to make great 3D models and money with blender.
#Blender #gamedev #texturing

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@Tutterzoid
@Tutterzoid 4 дня назад
For the Unity Game Engine, I advise that the Texture map or any image size be divisible by 8 to keep the image optimised in kilobytes
@Ribulose15diphosphat
@Ribulose15diphosphat Год назад
Shouldn't the Texture be a power of 2 ? Most Game Engines cannot handle a size of 10, and as far I know, Open GL needs an extention for this, and works slower then.
@slt4463
@slt4463 9 месяцев назад
I was thinking if this would actually work since its complicated math and all do you know if its better or if its worse ?
@Ribulose15diphosphat
@Ribulose15diphosphat 9 месяцев назад
@@slt4463 If it works, it is usually slower. To compute the index of a pixel from UV-coordinates, the formula is (V mod V-size)*U-size+ (U mod U-size). Mod is division reminder, which is as slow as division, and * is multiplication which isn't fast either. If V-size and U-size are powers of 2, it becomes ((V and (V-size -1)) shift-left log2(U-size)) or (U and (U-size-1). Note, "V-size -1", "U-size - 1) and "log2(U-size)" are constants. If your texture is 256*256 it becomes ((V and 255) shift-left 8) or (U and 255). Note, U and V are usually fixed point number, so two extra shifts are needed (which can be optimized to one).
@Microtransagolor
@Microtransagolor 8 месяцев назад
very true, i know that wii textures won't work properly if they aren't a power of 2
@FlynTie
@FlynTie 5 месяцев назад
You can import non-power of 2 textures in most modern game engines these days but they don't get mipmapped nor can they be streamed. You can still enforce mimapping manually but i don't think streaming is possible. There are use cases where this is fine, for instance with UI textures or for the case this video highlights or for editor resources but general rule of thumb is to not do it for textures that reside in the game world.
@humanprobably
@humanprobably 11 месяцев назад
Is it possible to have different levels of sheen, roughness, etc usinfg this method?
@ThomasPotter
@ThomasPotter 11 месяцев назад
Depends on the engine if you use multiple UV maps and if you just make multiple of the same colour with a different b&w level
@reinstern9686
@reinstern9686 Год назад
I have a big texture with different colors and gradient varieties, then scale the UV maps and fit them into the color. Is very easy.
@thedustyone2010
@thedustyone2010 7 месяцев назад
0:32 That's one way to take a Selphie. I'll see myself out.
@Tutterzoid
@Tutterzoid 5 дней назад
11/10 for this idea, that I have never seen anyone show in all the years I have used Blender
@roxtorlediable
@roxtorlediable 4 месяца назад
basically use basic 3D pixel art techniques
@PaniniDev
@PaniniDev Год назад
Thomas you’re becoming my favorite RU-vidr 🥹
@TheIronMenace
@TheIronMenace Год назад
I like the shaved head
@blaster_pro
@blaster_pro 8 месяцев назад
@ThomasPotter thanks for your videos... any ideas on how to use atlas textured models on substance painter without having to manually uv each one of them and colour again?
@PaniniDev
@PaniniDev Год назад
This makes so much more sense OMG
@TeamStarlane
@TeamStarlane 9 месяцев назад
what happened to using an indexed image?! you can fit those 32 or 16 colors into a 4 or 5 bit (!) index. Just talk to your damn coder. Jeezus. Also anybody uv unwrapping a flatshaded character, has officially lost the control over their life. I'm parsing the materials directly from an .obj file and the colors are hex color notations. Or I get the color values from the .mtl file. A PS1 can do that.
@Achelon
@Achelon 8 месяцев назад
Interesting, so you would use the materials as before, export as .obj and then use a custom .obj import script to write an indexed image file? I wrote a custom .obj importer for Powerpoint VBA a while back (dont ask me why) and I agree that it is an easy format to read.. Is there an user-friendly way to automate this in Unity for non-programmer types?
@TeamStarlane
@TeamStarlane 8 месяцев назад
@@Achelon I'd recommend coming to our Sega Saturn homebrew community, we have code you can steal.
@jeanprofite4341
@jeanprofite4341 Год назад
Hi, i'm afraid if you don't stop doing videos with thumbnails like this your videos will not go far.. Have a good day, and please try to make sure we can understand what the video will be about by just looking at the image or the title.
@awyeagames
@awyeagames Год назад
I actually clicked to watch this one BECAUSE of the intriguing thumbnail and title combo. Great video! The thumbnail was quite effective to capture my attention while I was scrolling through my feed.
@jeanprofite4341
@jeanprofite4341 Год назад
@@awyeagames I only clicked to write my comment
@ThomasPotter
@ThomasPotter Год назад
Well it's quite boring having the How to do X video. Packaging it in a more intriguing idea is better. Look at my other recent videos getting to the most popular spots on my channel that it took other videos like years to get the same view counts
@awyeagames
@awyeagames Год назад
@@ThomasPotter keep at it, you are doing a great! Btw, I really like the pacing of your videos. It's entertaining, but the memes/edits you do don't distract from the main point of the video, neither are they so frequent that they become annoying. I think you've got a nice balance on your content.
@fastlearner292
@fastlearner292 Год назад
Dude it's not a big deal,
Далее
Full Guide to GAME ASSET Topology in Blender!
19:58
Просмотров 6 тыс.
Pro Materials Are EASY Now! (Try This)
11:19
Просмотров 192 тыс.
Новый вид животных Supertype
00:59
Просмотров 193 тыс.
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 715 тыс.
How to Make PS1 Characters in Blender!
13:30
Просмотров 8 тыс.
3D Models That Will END Your Career
11:29
Просмотров 907 тыс.
Why Slopes are Shockingly Difficult for Indie Game Devs
17:20
Why Do Video Game Studios Avoid Blender?
6:49
Просмотров 594 тыс.
This Is The Greatest Project Ever
11:46
Просмотров 147 тыс.
Tips for Optimizing Game Assets in Blender
10:27
Просмотров 120 тыс.
The Ultimate Low Poly Hair Guide in Blender!
9:24
Просмотров 35 тыс.