diff options
author | Ton Roosendaal <ton@blender.org> | 2005-04-17 21:43:07 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-04-17 21:43:07 +0400 |
commit | 425f2956043fb9da71bfa34086d923cda4b0e9c2 (patch) | |
tree | 53cffefa01792e7a28f3019308bc511589063d12 /source/blender/blenkernel/bad_level_call_stubs | |
parent | 8a02dc11decda40e67bf95a109645e8df4d80b7e (diff) |
Patch submitted by Jorge Bernal (lordloki) and Jonathan Merritt.
This will add Minneart diffuse and WardIso specular to our shader menu.
Minneart gives nice control over darkness/brightness areas, the wardIso
over 'plastic' style sharp or fuzzy specular.
Webpage is being made with nice samples. Will be in release log.
Jorge: one change is in the do_versions, you inserted it on wrong location.
Diffstat (limited to 'source/blender/blenkernel/bad_level_call_stubs')
-rw-r--r-- | source/blender/blenkernel/bad_level_call_stubs/stubs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/bad_level_call_stubs/stubs.c b/source/blender/blenkernel/bad_level_call_stubs/stubs.c index cca654e9268..894ac8fc6fb 100644 --- a/source/blender/blenkernel/bad_level_call_stubs/stubs.c +++ b/source/blender/blenkernel/bad_level_call_stubs/stubs.c @@ -97,8 +97,10 @@ float Phong_Spec(float *n, float *l, float *v, int hard){return 0;} float Blinn_Spec(float *n, float *l, float *v, float a, float b){return 0;} float CookTorr_Spec(float *n, float *l, float *v, int hard){return 0;} float Toon_Spec(float *n, float *l, float *v, float a, float b){return 0;} +float WardIso_Spec(float *n, float *l, float *v, float a){return 0;} float Toon_Diff(float *n, float *l, float *v, float a, float b){return 0;} float OrenNayar_Diff(float *n, float *l, float *v, float a, float b){return 0;} +float Minnaert_Diff(float nl, float *n, float *v, float a){return 0;} void add_to_diffuse(float *diff, ShadeInput *shi, float is, float r, float g, float b){} void ramp_diffuse_result(float *diff, ShadeInput *shi){} void do_specular_ramp(ShadeInput *shi, float is, float t, float *spec){} |