IMPORTING MODEL FROM SKETCHUP INTO UDK\
IMPORTING TRANSPARENT MATERIAL
trying to write game and hence importing models from sketch up , these are low quality texturesThis was my first trail importing model into the sketch up.
Its a bridge and skyscaper.
The lighting is default,
The hardest thing is importing materials
sizes need to be 256*256 and to their powers
The Difference Between Texture and Material
If you’ve used UDK before, you may have noticed that you do not really use textures, or rather, you do not directly apply them to anything in your level. It seems somewhat strange at first, but materials are what you apply to your in-game assets, not textures. Materials are comprised of one or more 2D textures, which include the normal texture, normalmaps, specularity, etc. By combining several different texture files, a material is created that can now be applied to all of your assets and BSP. I will discuss how to create a material in UDK a little later on, but you will need to first create a texture that you will use. If you’d like to learn a bit more about materials and texturesPhotoshop Is Your Friend
Unless you are perfectly happy with the texture you’ve found, it probably could use some tweaking to make it fit better into your level. My texture creation process begins with finding a base texture, one that I particularly like but might look too realistic or clean. I open up the base texture in Photoshop (a similar program will work just fine) and test it out to make sure that it tiles properly and fits the power of 2 restriction. If it doesn’t check out, you might want to find a new texture, or you can edit it until it checks out. Next, I find a few other textures to layer on top of the base texture. These include grunge or other textures that make the base texture look more worn. Usually the textures I find aren’t quite the right color I’m looking for, so I either create a new layer with the desired color or use the hue/saturation tool to get the right color. Tweaking textures to look perfect is going to take some time, especially if you’re a beginner, but by doing these fairly simple steps, you can quickly get better looking textures for your levels.Importing into UDK
Before you import your new texture into UDK, be sure that it fits within the power of 2 rule, or it won’t even import. It should also be saved as a .png, .bmp, .psd, or .tga file type. To import, open up UDK and the content browser, and click the Import button at the bottom of the content browser. Find your texture and click open, which will bring up the import options window. There are a lot of different options you can select, but I won’t go into all of them this time. You do want to make sure the Package field is the same name as the package you want to import into, and when naming the texture, make sure that there are no spaces. There are a lot of different options you can select, but I won’t go into all of them this time. The two I usually select are “Create Material,” which will create a new material of the texture once imported, and “RGB to Diffuse,” which links the texture to the material’s diffuse color. After you’ve selected all of the desired options, click the OK button to import. Once imported, the content browser will open up the package you selected and show the new texture and the new material. The material will probably be the standard checkerboard right now, so to fix this, simply right click on the material and click “Recompile Material.” And you have now successfully imported your first texture and material into UDK! This is an easy way to import new textures, but if you’d like to learn some more in-depth tricks, I’d recommend checking out the UDN’s Content Creation guides; just scroll down to the Textures and Materials section.I’m certainly no expert in creating textures, but this process is a quick way of getting a more fitting look for your levels. There are a lot of great texture artists out there, so if you’d like to learn more on creating your own textures, try checking them out for inspiration or find yourself some good tutorials. Texturing is an art itself, but it can be a useful skill to have as a level designer, especially for solo projects and prototypes. If you have any questions or have something you’d like to add, feel free!
No comments:
Post a Comment