[Solved] Texture bug in latest source (2-1 branch)?

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


hedphelym
Gremlin
Posts: 189
Joined: Tue Nov 25, 2008 10:58 am
Location: Kristiansand, Norway
x 23

[Solved] Texture bug in latest source (2-1 branch)?

Post by hedphelym »

I noticed the sample projects (for example 'Sample_Pbsmaterials') show the texture differently then before.
Before the checker map tiled perfectly on the cube, but now you see it's a bit off. I'm not sure what the cause is.

Image


Also, might be related, but SSAO demo fails with this warning

Code: Select all

---------------------------
An exception has occured!
---------------------------
OGRE EXCEPTION(3:RenderingAPIException): D3D11 device cannot draw
Error Description:ID3D11DeviceContext::Draw: The Shader Resource View dimension declared in the shader code (TEXTURE2D) does not match the view type bound to slot 0 of the Pixel Shader unit (TEXTURE2DMS).  This mismatch is invalid if the shader actually uses the view (e.g. it is not skipped due to shader code branching).

Active OGRE shaders:
VS = Ogre/Compositor/Quad_vs_HLSL
FS = Ogre/Depth/DownscaleMax_ps_HLSL in D3D11RenderSystem::_render at D:\development\ogre\source\ogre\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp (line 3518)
---------------------------
OK   
---------------------------
Last edited by hedphelym on Sat Oct 05, 2019 9:41 am, edited 1 time in total.
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5546
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1402

Re: Texture bug in latest source (2-1 branch)?

Post by dark_sylinc »

Sadly this is a known issue. Thanks for reminding me.

Fixed.
hedphelym
Gremlin
Posts: 189
Joined: Tue Nov 25, 2008 10:58 am
Location: Kristiansand, Norway
x 23

Re: Texture bug in latest source (2-1 branch)?

Post by hedphelym »

Thank you for fixing it so quick.