How can i draw one red pixel in the shader instead of the triangle (in java)? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

How can i draw one red pixel in the shader instead of the triangle (in java)?

I'm new to programming in java with shaders https://code.sololearn.com/cdOVAkoP34LA/?ref=app

28th Sep 2023, 11:51 AM
Palito222
1 Resposta
+ 1
What I see is: -change the vertex shader code to a minimal shader since we only need a single point. -Modify the onDrawFrame method to draw a single point at the center.
28th Sep 2023, 1:44 PM
Abishek Neupane
Abishek Neupane - avatar