Page MenuHome

Spec. and Alpha Intensity OpenGL issue
Closed, ResolvedPublic


--- Operating System, Graphics card ---

WinXP SP3, 32bit, NVidia GeForce GTS 450, Driver

--- Blender version with error, and version that worked ---

r52844 - works fine
r53348 - crashes Blender right after opening this file (shows it opened and crashes)
r53510 - not working
r54336 - still

--- Short description of error ---

Specular Intensity changes improperly in OpenGL viewport

--- Steps for others to reproduce the error (preferably based on attached .blend file) ---

Just open the file and you'll see

The texture changes Specs but like it's all white without that baked details
The same thing happens with Alpha Int.

Event Timeline

P.S. Forgot to mention the same with Diff. Int. I suppose it's in all intensity channels.

Fixed in svn rev54374. Thanks for the report, closing.

Fixed rapidly. Thank you!

Hi, Sergey!

r54441 - the issue is here (again or still). And I didn't checked this fix before this revision.
Also tested with r54475 (Buildbot).

Please, reopen this bug report. I've just tested the blend with 2.66 RC and it's not solved.
Ton just have told about regressions.. so it is.

Hrrm. Seems tihng became broken again indeed :S

Ah no. This is all fine actually. This file was saved in trunk after we've made changed to alpha and before my fix to it. In this case it's not so easy to recover all the settings. Basically, you need to disable Use Alpha for image datablock -- texture was set to ignore alpha and now it is image flag.

If you resave this file with 2.65 release and open with current trunk or RC all flags would be nicely converted automatically.

Sergey Sharybin (sergey) changed the task status from Unknown Status to Resolved.Feb 14 2013, 4:53 PM

Sorry, Sergey.. but I've tried this. It doesn't help. Then I quickly recreated the same scene with 2.66 RC and it's the same (new file is attached - SpecIssue_Cube.blend).
Can this concrete png file depend on the issue somehow? I'm not a pro in this but just expect "no".
I'm sure you'll be solving this issue in an order of it's priority. For me it's not a major trouble (at least now). I don't know how it shows things in BGE, just didn't tested it.

I think you're just misconfiguring setup. The thing is -- if Alpha is enabled for texture, then alpha would be used as influence on Specular intensity and in your case the whole image has got alpha=1, meaning there's no difference in how light affects on the object. If you disable alpha from the texture, then RGB values would be converted to influence (namely, luma of pixel is used for intencity).

The only difference in setting such a scene in comparison with previous release is that earlier you could have been controlling Alpha individually for textures (Image Sampling panel. Alpha -> Use), now it is a per-image setting, which is controlled in image settings panel and option is called Use Alpha.

Oh, yeah! It works ) Thank you for clearance!

Now I just can suggest to add an event:

if "Use Alpha" is ON and if spec. Intensity was clicked (from OFF to ON state)
then the message "to set the Color to Intensity influence check OFF Use Alpha in Image section" appears.

A kind of this. And for other Intensity (and Alpha) check boxes too. This will be helpful for all newbies (and not only maybe).

when a texture is used for diffuse color, and its alpha is used for specular intensity, alpha will affect also the diffuse color. and an image can't be used in one texture with alpha enabled and in another with alpha disabled, because alpha is set per image.