NormalizeNormals material's flag solves the problem
Search found 5 matches
- Wed Jul 04, 2007 7:01 am
- Forum: Beginners Help
- Topic: Wrong lighting of scaled nodes
- Replies: 1
- Views: 249
- Wed Jul 04, 2007 6:32 am
- Forum: Beginners Help
- Topic: Wrong lighting of scaled nodes
- Replies: 1
- Views: 249
Wrong lighting of scaled nodes
On the image below you can see two identical spheres with same size/material/lighting conditions but with different visual results of lighting. Both was modelled in IrrEdit with several clicks.
The difference between these spheres is how their size was obtained.
Left sphere is of radius 500 and of ...
The difference between these spheres is how their size was obtained.
Left sphere is of radius 500 and of ...
- Tue Jun 26, 2007 1:00 pm
- Forum: Beginners Help
- Topic: Euler angles
- Replies: 1
- Views: 923
- Fri Jun 15, 2007 7:51 am
- Forum: Beginners Help
- Topic: Light Oversaturation
- Replies: 15
- Views: 4378
Possible solution
I've met the same problem and made the following changes.
1. New member to SLight class
vector3df Attenuation;//defaults (0.f,0.f,0.f) in constructor
2. Adding appropriate attribute serialize/deserialize methods in CLightSceneNode class
3. Modification of light attenuation logic in drivers ...
1. New member to SLight class
vector3df Attenuation;//defaults (0.f,0.f,0.f) in constructor
2. Adding appropriate attribute serialize/deserialize methods in CLightSceneNode class
3. Modification of light attenuation logic in drivers ...
- Sat Jun 09, 2007 11:32 am
- Forum: Bug reports
- Topic: [fixed] fast_atof bug
- Replies: 1
- Views: 432
[fixed] fast_atof bug
The function parses negative exponents incorrectly. It doesn't take into account a possible '-' sign just before exponent value.
Current SVN:
85 if (*c == 'e')
86 {
87 ++c;
88 //float exp = (float)strtol(c, &t, 10);
89 float exp = (float)strtol10(c, t);
90
91 f *= (float)pow(10.0f, exp ...
Current SVN:
85 if (*c == 'e')
86 {
87 ++c;
88 //float exp = (float)strtol(c, &t, 10);
89 float exp = (float)strtol10(c, t);
90
91 f *= (float)pow(10.0f, exp ...