The materials tag has no wiki summary.
0
votes
1answer
20 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", ...
-1
votes
1answer
76 views
Texturing in Unity 3D with CrazyBump [closed]
Recently, I've started messing with Unity again and playing around with making textures with an old program called CrazyBump. I'm virtually new to texturing aside from grabbing one offline and ...
2
votes
1answer
119 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( ...
2
votes
0answers
166 views
Ogre3D | Ogre::ManualObject per-vertex colour with lighting (and shading) on
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
399 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
426 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
133 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
104 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
72 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
1answer
296 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
341 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 ...
14
votes
3answers
846 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 ...
0
votes
0answers
387 views
Cocos3d lighting problem
I'm currently working on a cocos3d project, but I'm having some trouble with lighting and I have no idea how to solve it. I've tried everything and the lighting is always as bad in the game.
The ...
3
votes
1answer
330 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 ...