weired bright texture parts

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
sinapse
Gnoblar
Posts: 11
Joined: Sat Dec 19, 2015 11:57 am

weired bright texture parts

Post by sinapse »

Ok, so what I did was putting a texture layer on a terrain and set its blending value to 1 at some parts of that terrain what I got is the following. I have a uniform grass texture but in the terrain some parts of this texture is bright! Can anyone tell me what could I have done to deserve this!
You do not have the required permissions to view the files attached to this post.
Last edited by sinapse on Mon Apr 11, 2016 12:14 pm, edited 1 time in total.
sinapse
Gnoblar
Posts: 11
Joined: Sat Dec 19, 2015 11:57 am

Re: wired bright texture parts

Post by sinapse »

Umm, so the problem is solved! I had a directional light in my scene, changed its direction from (0.55, -0.3, 0.75) to (-0.55, -0.3, 0.75) and bam! No more weired bright parts! Can anyone tell me why??
User avatar
SolarPortal
OGRE Contributor
OGRE Contributor
Posts: 203
Joined: Sat Jul 16, 2011 8:29 pm
Location: UK
x 51

Re: weired bright texture parts

Post by SolarPortal »

If this is ogre3d 1.9 terrain, then check for a specular component in the diffuse texture's alpha. :)
Lead developer of the Skyline Game Engine: https://aurasoft-skyline.co.uk
xrgo
OGRE Expert User
OGRE Expert User
Posts: 1148
Joined: Sat Jul 06, 2013 10:59 pm
Location: Chile
x 169

Re: weired bright texture parts

Post by xrgo »

Ogre usually displays that pattern when a texture is missing:
Image
maybe that's the problem but it doesn't look yellow because its in a specular channel or something like that