[2.1] Is it possible to have PBS diffuse without a diffuse map?

Problems building or running the engine, queries about how to use features etc.
Post Reply
mrmclovin
Goblin
Posts: 292
Joined: Sun May 11, 2008 9:27 pm
x 8

[2.1] Is it possible to have PBS diffuse without a diffuse map?

Post by mrmclovin » Sun Sep 01, 2019 9:57 pm

Ogre Version: 2.1 :?:
Operating System: Macos :?:
Render System: Metal :?:

I'm having the following material for my simple mesh t(hat just have verts and normals defnied):

Code: Select all

[...] 
 
  "pbs": {
    "SpaceShip_TopCone": {
      "diffuse" :
      {
          "value" : [0.682352, 0.247, 0.07843]
        }
    },
    }
    
    [...]
    
    
But my model keeps being blank. I can confirm the material is assigned since when I remove the defintion in my material file, Ogre complains about it cannot find this material.

Is it even possible to have a diffuse color without having a diffuse map and UV coords?
0 x

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 4078
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 232
Contact:

Re: [2.1] Is it possible to have PBS diffuse without a diffuse map?

Post by dark_sylinc » Sun Sep 01, 2019 11:34 pm

Yes, we do support diffuse without diffuse map, and that alone should work.

I suspect you could be having a very high roughness combined with high specular (thus you would be looking mostly at the specular colour), or you have metalness at a very high value, or fresnel coeff at a very low value (or high? I can't remember which one was which about fresnel coeff).

Alternatively your light may be so bright that it's overflowing to white, but I doubt this is the case.
0 x

mrmclovin
Goblin
Posts: 292
Joined: Sun May 11, 2008 9:27 pm
x 8

Re: [2.1] Is it possible to have PBS diffuse without a diffuse map?

Post by mrmclovin » Mon Sep 09, 2019 8:43 pm

dark_sylinc wrote:
Sun Sep 01, 2019 11:34 pm
Yes, we do support diffuse without diffuse map, and that alone should work.

I suspect you could be having a very high roughness combined with high specular (thus you would be looking mostly at the specular colour), or you have metalness at a very high value, or fresnel coeff at a very low value (or high? I can't remember which one was which about fresnel coeff).

Alternatively your light may be so bright that it's overflowing to white, but I doubt this is the case.
Thanks. The error was that I had misunderstood what material I actually had assigned - hence some confusing and unexpected behaviour. Your answer helped me narrow it down though!
1 x

Post Reply