Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 51336

a computer program that runs on graphics hardware and provides a high degree of control over how scenes are rendered

1 vote
1 answer
99 views

Different ways to mark the status of an enemy

to show the status of the enemies( frozen, on fire(dot damage), slowed...etc) I think about two possibilities Put a 2D image in the enemy that show status Change the color of the enemy with vertex shadersshaders
D4rWiNS's user avatar
  • 293
0 votes
1 answer
693 views

Basic vertex shader, moving

I am new in shader concepts and I am trying to implement a sprite of 8x8 in OpenGL ES. I want to move the texture in the vertex shader but I cant figure out how to this, my code may be wrong, feel fr …
D4rWiNS's user avatar
  • 293
0 votes
Accepted

Basic vertex shader, moving

The problem was that I was adding 1.5 and the range should be between 0-and 1.0
D4rWiNS's user avatar
  • 293
0 votes
1 answer
1k views

Fragment shader, tint color problem

I am new to shaders, and I am trying to tint a texture to mark status of a enemy. … I am implementing shaders on OpenGL ES 2.0 (Mobile) The problem is that with this shaders, I see the enemy without change (even if I assign de fragcolor to (1.0, 0 , 0 ,1.0), the real code is commented …
D4rWiNS's user avatar
  • 293
3 votes
Accepted

Fragment shader, tint color problem

The problem was there gl_FragColor = (1.0, 0 , 0 ,1.0);//vec4(texVal.rgb, texVal.a)*(1.0, 0 , 0 ,1.0); it miss the vec4 name gl_FragColor = vec4(1.0, 0 , 0 ,1.0);//vec4(texVal.rgb, texVal.a)*ve …
D4rWiNS's user avatar
  • 293