A definition of physical and/or visual characteristics of a surface, often for use with rendering software or a game engine.

learn more… | top users | synonyms

0
votes
1answer
40 views

Why does changing texture change it for both objects? [duplicate]

I have two identical objects in my Unity scene. When I change the texture of one, the texture is changed on the other, almost as though the first one is a prefab. Why is this happening and how can I ...
2
votes
1answer
56 views

How do I change the material of an object with Script in Unity?

I was making a game with Unity and I want to change an object's material using JavaScript when the player collects 5 collectables that I made. The collectables get stored in an int variable called ...
0
votes
1answer
52 views

Terrain (mesh) textures in Unity - blurry?

I've created a 3D mesh in blender which will be used as a terrain in Unity. Additionaly, I created a 900x900 texture which I'd like to apply as material to the mesh. However, unlike with the normal ...
0
votes
1answer
153 views

UE4: Apply texture on landscape based on angle

I am creating a material for my landscape. I know that one could for example use the landscapes heightmap as a mask to apply textures at certain heights, but I want to apply textures at certain ...
1
vote
1answer
68 views

Missing colors in Collada export from Blender

I've noticed something strange in a Collada DAE export from Blender. I've assigned Diffuse BDSF colors to 4 faces of a cube as shown here: http://www.4shared.com/photo/_hM04zywba/blendcube.html It ...
0
votes
1answer
171 views

Could you explain this calculation of tiling and offset?

I don't understand why we add +colNumber when we calculate the offset = Vector2 ((uIndex+colNumber) * size.x, which gives us x=3 for the index 13, which is the square located at the coordinates x:1, ...
2
votes
1answer
144 views

How do I apply a texture over a material in OpenGL ES?

How can I apply a texture over a material? I've set up an object with the following material: GLKBaseEffect *effect; effect.colorMaterialEnabled = false; effect.material.ambientColor = ...
0
votes
0answers
40 views

How do I apply a specular/reflective map in Rhinoceros?

I'm designing a 3D model using Rhinoceros 5, and after having created the UVMap with UVLayout, I've imported the .obj file back into Rhinoceros to apply materials to it. I've successfully added ...
0
votes
0answers
144 views

Dynamic load and unload material

For targeting multiple display resolution, I focus on using MultiPlatform Toolkit usage. In which I found following statement in tutorial section for dynamically handling materials. "Just remember ...
2
votes
1answer
755 views

Create sprite renderer using custom material

I have done following thing. Create Material Attach sprite with texture type as Texture Add sprite renderer component to game object Assign material to it that I create in last steps There is no ...
1
vote
1answer
234 views

Depth write and depth test in Unity

Scenario: several objects (o1, o2,.., on) have to be rendered with the z test disable, but the z values must be written to the depth buffer. In another pass, some other objects (t1, t2,..., tm) need ...
2
votes
2answers
134 views

Materials and Mesh association

I'm trying to implement a Material system in a small engine for training and I've got questions about materials. Currently I've got that: Material: A Material with array of Technique Technique: ...
0
votes
1answer
221 views

Set alpha cutoff value Unity3d

I am continuing my previous question( link ). Now its working as per this demo. and the coding written to set cutoff is here : function Update () { renderer.material.SetFloat("_Cutoff", ...
2
votes
1answer
283 views

Material, Pass, Technique and shaders

I'm trying to make a clean and advanced Material class for the rendering of my game, here is my architecture: class Material { void sendToShader() { program->sendUniform( ...
3
votes
1answer
652 views

How do I create a manual object with colors for each vertex?

How do I create a shaded manual object with colours for each vertex? Eg if ogreObj is the Ogre::ManualObject : ogreObj->begin("BaseWhiteNoLighting", Ogre::RenderOperation::OT_TRIANGLE_LIST); ...
4
votes
1answer
609 views

Material System

I'm designing Material/Shader System (target API DX10+ and may be OpenGL3+, now only DX10). I know, there was a lot of topics about this, but i can't find what i need. I don't want to do some kind of ...
1
vote
1answer
2k views

How do you rotate a material 90 degrees in UDK?

So, I have started checking out UDK since yesterday, and most of it is clear and understandable. I'm trying to create a curved road. The idea was to use a brush (Curved Staircase) and set the steps ...
0
votes
1answer
222 views

Ogre: Light not reflecting correctly

In my Ogre 3d scene I have an empty box, and within that there are three small cubes. The camera is also within the box, facing the three small cubes. The user can move and rotate the camera with the ...
0
votes
0answers
251 views

Importing materials along with terrain from Bryce

I've created bunch of terrain in Bryce, and I've managed to import the most basic part of it without any fuss. However, anything more complex (mountains, etc) cannot be imported without the material ...
2
votes
1answer
139 views

Is there a material format for OpenCTM files?

I consider using OpenCTM files for my game. Since the format only claims to store raw mesh data, my question is if there is a associated file format for material data and paths to texture maps. For ...
5
votes
2answers
520 views

Detecting Light Intensity Around Characters

Later Edit Since there seemed to be a bit of confusion: I am asking this for purely didactic reasons, I'm not searching for the most efficient solution. Reformulated question: I'm working under ...
2
votes
1answer
545 views

Distortion of color space in UDK (material editor)

Question Using UDK's material editor, I wish to use a texture as a two-dimensional array of values for mathematical computations (basically, the color components of each pixel in the texture alter ...
15
votes
3answers
2k views

Difference between Material and Shader

In a game a material does only influence the visual appearance of the object. The visual appearance is effected by shaders. So regarding to terminology is there a difference between materials and ...
3
votes
1answer
466 views

Rendering different materials in a voxel terrain

Each voxel datapoint in my terrain model is made up of two properties: density and material type. Each is stored as an unsigned integer value (but the density is interpreted as a decimal value ...