代码搜索:Diffuse
找到约 389 项符合「Diffuse」的源代码
代码结果 389
www.eeworm.com/read/102460/15780287
cpp example3.cpp
/****************************************************************************
example3.cpp
A GLUT program using all the features of the GLUI User Interface Library
(except columns, featur
www.eeworm.com/read/433256/8535449
-
#include
#include
#include
#include
#pragma comment(lib,"opengl32")
#pragma comment(lib,"glu32")
#pragma comment(lib,"glaux")
void Init(void);
voi
www.eeworm.com/read/289230/8567023
cg vertexlight4.cg
//
// subroutine call example
//
// vertex shader with per-vertex diffuse lighting for a 4 directional
// lights + ambient
//
// written assuming that the lightcolor has been premultiplied by
www.eeworm.com/read/181089/9274745
cg vertexlight4.cg
//
// subroutine call example
//
// vertex shader with per-vertex diffuse lighting for a 4 directional
// lights + ambient
//
// written assuming that the lightcolor has been premultiplied by
www.eeworm.com/read/426194/10275413
frag tutorial9.frag
varying vec3 N;
varying vec3 L;
varying vec3 P;
varying float pattern;
uniform vec4 color0; // "Diffuse" Color
uniform vec4 color1; // "Ambient" Color
uniform vec4 color2; // "Specula
www.eeworm.com/read/350213/10758306
cpp gameobject.cpp
// Object.cpp: implementation of the CObject class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
//#include "MapEdit.h"
#include "GameObject.h"
www.eeworm.com/read/350213/10758517
cpp graphics.cpp
// Graphics.cpp: implementation of the CGraphics class.
//
//////////////////////////////////////////////////////////////////////
#include "Graphics.h"
#include "GlobalDefs.h"
#ifdef _DEBUG
www.eeworm.com/read/273799/10900864
fx ps.fx
float4 PS(float3 Light: TEXCOORD0, float3 Norm : TEXCOORD1, float3 View : TEXCOORD2) : COLOR
{
float4 diffuse = { 1.0f, 0.0f, 0.0f, 1.0f};
float4 ambient = { 0.15f, 0.15f, 0.15f, 1.0f};
www.eeworm.com/read/435688/7787747
ksh openglext.ksh
#!/bin/ksh
#
# Demo with gtkglext - April 2008, (c) PvE.
#
#---------------------------------------------------------------------
# Some constants
#----------------------------------------------------
www.eeworm.com/read/435688/7787761
bash openglarea.bash
#!/bin/bash
#
# Demo with gtkglarea - April 2008, (c) PvE.
#
# The API of GtkGlArea is a bit more convenient than GtkGlExt, IMHO.
#
#-------------------------------------------------------------------