Index_M

M

m3x2 macro, 237-239, 306

m3x3 macro, 239-240, 306-308

m3x4 macro, 241-242, 308-309

m4x3 macro, 242-244, 309-310

m4x4 macro, 244-246, 310-311

macroinstructions, 106, 204

macros

abs macro, 205, 288-289

crs macro, 209-210, 294-295

exp macro, 220-221

frc macro, 224-225

log macro, 230-231

lrp macro, 236-237, 304-305

m3x2 macro, 237-239, 306

m3x3 macro, 239-240, 306-308

m3x4 macro, 241-242, 308-309

m4x3 macro, 242-244, 309-310

m4x4 macro, 244-246, 310-311

max macro, 312-313

min macro, 314-315

nrm (normalize) macro, 254-255, 318-319

pow macro, 255-256, 320-321

sgn macro, 263

sincos macro, 264, 324-325

mad (multiply and add) instruction, 173, 246-247, 312, 313

magnetic field, of a wave of energy, 64, 65

magnitude, of a direction vector, 14

mapping, declaring between input data streams and vertex buffers, 119

marker, allowing for increased instructions in pixel shaders, 319

masked rays, of the Cook-Torrance model, 75

masks, 268-269, 363-367

material boundary, physics of light interacting at, 59-74

material diffuse color, passing in as a constant, 157, 160

material internals, interaction of light with, 34

material specular color, passing as a constant, 162

materials, describing using colors, 34

mathematical operations, notation for, 10-11

mathematics

of color in computer graphics, 22-30

required for 3D graphics, 9-30

matrices, 10

matrix, orthogonal, 102

matrix multiply

performing, 97

performing on the input vector and input matrix, 237, 239, 241-246

matrix transformations, getting from world coordinate space to clip space, 100

Matrox Web site, 145

max instruction, 247-248

max macro, 312-313

maximum value, storing from comparing two source registers, 247, 312-313

MaxPixelShaderValue

examining, 110

seeing the range to which pixel registers are clamped, 278

MaxPointSize member, of the D3DCAPS structure, 204

MaxStreams capabilities bit, 127

MaxStreamStride capabilities bit, 127

MaxTextureRepeat member, of the D3DCAPS structure, 203

MaxVertexShaderConst device capability bits member, 136

MaxVertexShaderConst member, of the D3DCAPS structure, 198

Meltdown event, 146

MET (Multi-Element Texture), 287, 288

MET color element, setting, 315

MET surface, describing the element index to use, 287

metallic paint, shader simulating, 38

microfacets, 74

Microsoft Developer Network (MSDN) Web site, 144

Microsoft Direct 3D reference rasterizer, specifying, 114

min instruction, 248-249

min macro, 314-315

minimum value, storing from comparing two source registers, 248, 314-315

minus sign (). See negate modifier mipmap level, biasing, 340, 341

mixed (both software and hardware) vertex processing, 115

"model" coordinates, 98

model space, talking directly to clip space, 100

model transformation, in OpenGL, 98

modelview matrix, premultiplying viewing parameters into, 99

modifiers

_2x modifier, 368

_4x modifier, 368

_8x modifier, 368

_abs modifier (absolute modifier), 270

_bias modifier, 357-358

_bx2 modifier, 328, 330, 358-359

_d2 (half) modifier, 368

_d4 (quarter) modifier, 280, 368

_d8 (eighth) modifier, 280, 368

_dw modifier, 285, 333, 339, 361

_dw modifier, 362-363

_dz modifier, 340, 362-363

invert modifier, 357

negate modifier, 270-271, 356-357

_pp (partial precision hint) modifier, 296, 368, 369

_sat modifier, 252, 270, 299, 300, 325, 367, 368

_x2 modifier, 281, 359

_x8 modifier, 280

modulation, 35. See also multiplication,

monitors, gamuts of, 24

mov instruction, 250-251, 315-316

mova instruction, 251-252

MRT (Multiple Render Target), 287-288

MRT color element, setting, 315

mul instruction, 253, 316-317

Multi-Element Texture. See MET

multicolor objects, generating with no shading effects, 154-155

Multiple Render Target. See >MRT (Multiple Render Target)

multiple streams, using, 127

multiplication

of color values, 25

notation for, 11

multitexture shader, 174-177

multitexturing effects, 111



Real-Time Shader Programming(c) Covering Directx 9. 0
Real-Time Shader Programming (The Morgan Kaufmann Series in Computer Graphics)
ISBN: 1558608532
EAN: 2147483647
Year: 2005
Pages: 104
Authors: Ron Fosner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net