代码搜索:Diffuse
找到约 389 项符合「Diffuse」的源代码
代码结果 389
www.eeworm.com/read/136820/5852032
c main.c
/* Copyright (C) Gabor Nagy, 2000.
* All rights reserved worldwide.
*
* This software is provided "as is" without express or implied
* warranties. You may freely copy and compile this source into
www.eeworm.com/read/108009/6187199
c main.c
/* Copyright (C) Gabor Nagy, 2000.
* All rights reserved worldwide.
*
* This software is provided "as is" without express or implied
* warranties. You may freely copy and compile this source into
www.eeworm.com/read/493185/6398075
fx lighting.fx
//光照计算
struct Mtrl
{
float4 ambient;
float4 diffuse;
float4 specular;
float specPower;
};
struct DirLight
{
float4 ambient;
float4 diffuse;
float4 specular;
float3 direct
www.eeworm.com/read/291670/8403799
c alphablendnosort.c
/*
* alphablendnosort.c
* Celeste Fowler, 1997
*
* Shows the artifacts that can be seen when using alpha blending for
* transparency and no sorting is performed.
*
*/
#include
www.eeworm.com/read/284807/8889854
cpp font_3d.cpp
//=============================================================================
// Desc: 三维文本显示
//=============================================================================
#include
www.eeworm.com/read/136824/5848224
nvv dot3_transform.nvv
; A simple shader to transform the vertex location, output
; the color and the texture coordinates
#include "Constants.h"
#define V_POSITION v0
#define V_NORMAL v1
#define V_DIFFUSE v2
www.eeworm.com/read/136824/5848373
nvv pointlight.nvv
; Calculates a local viewer point light source with attenuation
#include "lighting.h"
#define R_EYE_NORMAL r1
#define R_EYE_VERTEX r0
#define R_VERTEX_TO_LIGHT r9
#define R_TEMP r7
#define R_D
www.eeworm.com/read/136824/5848417
nvv dot3_transform.nvv
; A simple shader to transform the vertex location, output
; the color and the texture coordinates
#include "Constants.h"
#define V_POSITION v0
#define V_NORMAL v1
#define V_DIFFUSE v2
www.eeworm.com/read/136824/5848526
nvv dot3_transform.nvv
; A simple shader to transform the vertex location, output
; the color and the texture coordinates
#include "Constants.h"
#define V_POSITION v0
#define V_NORMAL v1
#define V_DIFFUSE v2
www.eeworm.com/read/136824/5848567
nvv dot3_transform.nvv
; A simple shader to transform the vertex location, output
; the color and the texture coordinates
#include "dot3.h"
#define V_POSITION v0
#define V_NORMAL v1
#define V_DIFFUSE v2
#define V_TE