All Content
Blogs
Forums
News
Tutorials
Log In
Sign Up
Login
Username / Email
Password
Remember me
Forgot password?
Login
or
Don't have a GameDev.net account?
Sign up
Forgot your password?
Email Address
Reset Password
Please contact us if you have any trouble resetting your password.
Home
Blogs
Forums
News
Portfolios
Projects
Tutorials
31
users logged in
New?
Learn about game development
.
Before posting, review our
community guidelines
.
Follow Us
Chat in the
GameDev.net Discord!
Mastodon
Back to Graphics and GPU Programming
Reflection Term in Lighting Model
Graphics and GPU Programming
Programming
Started by
Endemoniada
May 09, 2011 07:08 PM
0
comments, last by
Aqua Costa
13 years ago
Endemoniada
431
Author
May 09, 2011 07:08 PM
Hi guys,
What do I do with my computed reflection color ? Right now I add it like I do specular:
output = Kd*DiffuseColor + Ks*SpecularColor +Kr*ReflectionColor;
Am I doing it right ?
Thanks.
Cancel
Save
Advertisement
Aqua Costa
3,705
May 09, 2011 07:32 PM
You should use the fresnel term to blend the material and the reflection color.
Check this out.
Cancel
Save
This topic is closed to new replies.
Advertisement
Popular Topics
Avoiding other units without using pathfinding
General and Gameplay Programming
Quake 1 source code triangle rasterization
General and Gameplay Programming
D3D12 Alpha blending not working both ways
Graphics and GPU Programming
AABB collision
For Beginners
Post-Newtonian general relativity
Math and Physics
ARM64 Native Calling Convention Return Issue on Apple Silicon
AngelCode
Advertisement
Recommended Tutorials
Are You Letting Others In?
Career Development
Unity 2d Color Switch Tutorial (2020)
Game Design and Theory
Abusing the Linker to Minimize Compilation Time
General and Gameplay Programming
The Intuitive Algorithm
Artificial Intelligence
When Your Best Isn't Good Enough: A Tale of Failure (Part I)
Career Development
Reticulating splines
About GameDev.net
Community Guidelines
Terms of Service
Privacy Policy
Contact Us
Copyright (c) 1999-2024 GameDev.net, LLC
Back to Top