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

1
vote
1answer
176 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 ...
1
vote
1answer
587 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 ...
0
votes
1answer
54 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 ...
0
votes
1answer
54 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
134 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, ...
6
votes
2answers
486 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
128 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
38 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
123 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 ...
0
votes
1answer
208 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 ...
2
votes
2answers
130 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: ...
3
votes
1answer
589 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
592 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 ...
0
votes
1answer
195 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
248 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( ...
1
vote
1answer
1k 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
0answers
225 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
128 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 ...
2
votes
1answer
519 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
446 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 ...