I am starting to develop iphone OS.
I followed Jeff's tutorial here about displaying hud on iphone OS http://iphonedevelopment.blogspot.com/2010/02/drawing-hud-display-in-opengl-es.html The sample is working on an accompanying project with an isocoder as a HUD background and it works as expected with colors and text.
But when I copied the code into my modified project with textured objects from one of his training series on this http://iphonedevelopment.blogspot.com/2009/05/opengl-es-from-ground-up-part-6_25.html , I see that the HUD display has no colors, regardless of how I change the color settings.
I tried and mistakenly disabled and enabled client states and GL modes without any luck. Anyone who has analyzed the situation, experienced this, found out what needs to be changed in the code, please let me know
Before you draw a HUD, make sure you turn off GL_LIGHTINGand GL_TEXTURE_2D.
GL_LIGHTING
GL_TEXTURE_2D
Source: https://habr.com/ru/post/1742077/More articles:java.net.UnknownHostException в файле://метод - javaThe maximum number of lines per file? - coding-styleКак получить буквенное письмо от pendrive - visual-c++what to "confidently kill" when it comes to the NFS mount option? - killPDF search and shared library - searchHow to make unwashed image in WPF 3d - .netmatching multiple lines in python - pythonIf I pack the web app with the whole maven: exploded war, why not include pom.xml and pom.properties? - javaConcurrency Global Temporary Table - oraclePHP session voting system? - phpAll Articles