代码搜索:Diffuse
找到约 389 项符合「Diffuse」的源代码
代码结果 389
www.eeworm.com/read/143548/12862254
cpp diffusedoc.cpp
// DiffuseDoc.cpp : implementation of the CDiffuseDoc class
//
#include "stdafx.h"
#include "Diffuse.h"
#include "DiffuseDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
stati
www.eeworm.com/read/444600/1732019
pix phong.pix
/**
Per-pixel Phong Shading
*/
/** Diffuse/ambient surface color */
uniform vec3 diffuseColor;
/** Specular surface color. Used for both glossy and perfect reflection. */
uniform vec3 spe
www.eeworm.com/read/377754/2696356
vs fogcoord.vs
// fogcoord.vs
//
// Generic vertex transformation,
// diffuse and specular lighting,
// per-vertex fogcoord
uniform vec3 lightPos0;
void main(void)
{
// normal MVP transform
gl_P
www.eeworm.com/read/377754/2696358
vp texspec.vp
!!ARBvp1.0
# texspec.vp
#
# Generic vertex transformation,
# compute diffuse lighting,
# put N.H into a texcoord
# for use by 1D pow tex lookup
ATTRIB iPos = vertex.position; #
www.eeworm.com/read/143548/12862258
cpp mainfrm.cpp
// MainFrm.cpp : implementation of the CMainFrame class
//
#include "stdafx.h"
#include "Diffuse.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char
www.eeworm.com/read/366702/2879998
c pr32399.c
void f(unsigned char *src, unsigned char *dst, int num, unsigned char *pos, unsigned char *diffuse, int hasdiffuse, unsigned char *specular, int hasspecular) {
int i;
for(i=num;i--;) {
float
www.eeworm.com/read/445148/7598495
cpp psystem.cpp
#include
#include "pSystem.h"
using namespace psys;
const DWORD Particle::FVF = D3DFVF_XYZ | D3DFVF_DIFFUSE;
PSystem::PSystem()
{
_device = 0;
_vb = 0;
_tex = 0;
}
www.eeworm.com/read/120251/6077341
material paginglandscape.material
material PagingLandScape.0.0
{
technique
{
pass
{
ambient 0.75 0.75 0.75
diffuse 0.35 0.35 0.35
texture_unit
{
texture gcanyon_texture_4k2k.Lit.0.0.png
tex_addre
www.eeworm.com/read/113165/6139355
material paginglandscape.material
material PagingLandScape.0.0
{
technique
{
pass
{
ambient 0.75 0.75 0.75
diffuse 0.35 0.35 0.35
texture_unit
{
texture gcanyon_texture_4k2k.Lit.0.0.png
tex_addre
www.eeworm.com/read/377754/2696348
vs texspec.vs
// texspec.vs
//
// Generic vertex transformation,
// compute diffuse lighting,
// put N.H into a texcoord
// for use by 1D pow tex lookup
uniform vec3 lightPos0;
void main(void)
{
//