代码搜索:Diffuse
找到约 389 项符合「Diffuse」的源代码
代码结果 389
www.eeworm.com/read/329085/12982904
db diffuse.db
www.eeworm.com/read/400534/11575051
txt diffuse.txt
////////////////////////////////////////////////////////////////////////////
//
// File: diffuse.txt
//
// Author: Frank Luna (C) All Rights Reserved
//
// System: AMD Athlon 1800+ XP, 512 DDR
www.eeworm.com/read/256508/11993612
c diffuse.c
/*----------------------------------------------------------------------
PROGRAM: diffuse.c
DATE: 11/16/94
AUTHOR: Baback Moghaddam, baback@media.mit.edu
------------------------------------------
www.eeworm.com/read/231451/14233068
txt diffuse.txt
////////////////////////////////////////////////////////////////////////////
//
// File: diffuse.txt
//
// Author: Frank Luna (C) All Rights Reserved
//
// System: AMD Athlon 1800+ XP, 512 DDR
www.eeworm.com/read/4032/23293
txt diffuse.txt
////////////////////////////////////////////////////////////////////////////
//
// File: diffuse.txt
//
// Author: Frank Luna (C) All Rights Reserved
//
// System: AMD Athlon 1800+ XP, 512 DDR
www.eeworm.com/read/377754/2696353
vp diffuse.vp
!!ARBvp1.0
# diffuse.vp
#
# Generic vertex transformation,
# diffuse lighting based on one
# white light
ATTRIB iPos = vertex.position; # input position
ATTRIB iPrC = vertex.col
www.eeworm.com/read/377754/2696354
vs diffuse.vs
// diffuse.vs
//
// Generic vertex transformation,
// diffuse lighting based on one
// white light
uniform vec3 lightPos0;
void main(void)
{
// normal MVP transform
gl_Position =
www.eeworm.com/read/377754/2696716
fp diffuse.fp
!!ARBfp1.0
# diffuse.fp
#
# per-pixel diffuse lighting
ATTRIB iPrC = fragment.color.primary;# input primary color
ATTRIB iTC0 = fragment.texcoord[0]; # normal (N)
ATTRIB iTC1 = fragment.tex
www.eeworm.com/read/377754/2696722
fs diffuse.fs
// diffuse.fs
//
// per-pixel diffuse lighting
varying vec3 N, L;
void main(void)
{
// output the diffuse color
float intensity = max(0.0,
dot(normalize(N), normalize(L)))
www.eeworm.com/read/377754/2696724
vp diffuse.vp
!!ARBvp1.0
# diffuse.vp
#
# setup interpolants for diffuse lighting
ATTRIB iPos = vertex.position; # input position
ATTRIB iPrC = vertex.color.primary; # input primary color
ATTRIB iN