Results 1 to 2 of 2

Thread: Red Texture... shouldn't be red...

  1. #1
    Squire tehJP's Avatar
    Join Date
    Aug 2012
    Location
    Bristol, UK
    Posts
    14

    Default Red Texture... shouldn't be red...

    So I've got a PNG texture (same issue occurs with BMP) which has been converted to RTTEX resulting in a red tint in-game whilst the original texture has no (visible) red in it at all...

    The conversion command is: for /r %%f in (*.bmp *.png) do ..\%PACK_EXE% -pvrt8888 %%f

    I had a fairly similar texture previously, used in exactly the same way (same filepath also) and it didn't suffer from this issue...

    I've tried deleting the RTTEX in case there was any reliance on previous versions but that didn't help :s

    I've attached the problem texture in case anyone can help out!

    Name:  results.png
Views: 16
Size:  66.7 KB

    More info: This may only happen when used as a background in a OverlayEntity...
    Last edited by tehJP; 08-25-2012 at 08:17 PM.

  2. #2
    Squire tehJP's Avatar
    Join Date
    Aug 2012
    Location
    Bristol, UK
    Posts
    14

    Default

    I think it's a 2D renderstate issue.... The thought occurred to me that I'm rendering a semi-transparent red rectangle as the last of my render calls and wondered if that was causing it... commenting out that call resulted in a black background when the menu comes on screen... Odd that the change seemed to occur with an update to the texture.. maybe something else got changed around the same time too...

Similar Threads

  1. Replies: 9
    Last Post: 09-18-2011, 11:38 PM
  2. Render to texture
    By Ockonal in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 06-23-2011, 10:29 AM
  3. Get screen texture
    By Ockonal in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 06-20-2011, 01:00 AM
  4. Texture instead of gradient
    By Ockonal in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 12-25-2010, 08:18 AM
  5. New Texture 3D example
    By rombust in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 11-24-2009, 02:12 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •