代码搜索:lighting
找到约 649 项符合「lighting」的源代码
代码结果 649
www.eeworm.com/read/136824/5848379
h lighting.h
/******************************************************************************
Copyright (C) 1999, 2000 NVIDIA Corporation
This file is provided without support, instruction, or implied warra
www.eeworm.com/read/136824/5848490
nvf lighting.nvf
#include "constants.h"
vs.1.0
// Helpers for the lighting
#beginfragment set_power
mov r_intensity.w, c_mat_power.w
#endfragment
#beginfragment clamp_diffuse_exponentiate_specular
lit r
www.eeworm.com/read/120251/6075396
h lighting.h
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://ww
www.eeworm.com/read/120251/6075413
cpp lighting.cpp
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://ww
www.eeworm.com/read/113165/6137304
h lighting.h
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://ww
www.eeworm.com/read/113165/6137321
cpp lighting.cpp
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://ww
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/408706/11376308
c lighting.c
/*=================================================================================
FILE: lighting.c
SERVICES: Functionality for lighting tutorials
DESCRIPTION: This file contains all
www.eeworm.com/read/408706/11376412
h lighting.h
#ifndef LIGHTING_H
#define LIGHTING_H
/*=================================================================================
FILE: lighting.h
DESCRIPTION: This is the header file for the li
www.eeworm.com/read/250455/12405392
h lighting.h
// Lighting.h: interface for the CLighting class.
#ifndef _CLIGHTING_H
#define _CLIGHTING_H
#include "LightObj.h"
#include "Material.h"
#include "Object3d.h"
class CLighting
{
public: