Skip to main content

Questions tagged [surface-shader]

Filter by
Sorted by
Tagged with
0 votes
1 answer
2k views

I wrote the following surface shader. The idea is to increase the Z depth value of vertices, after projection. ...
tigrou's user avatar
  • 3,279
0 votes
1 answer
112 views

I have read from Hearn and Baker computer graphics book. I read the test#2 painter's theorem which image is given below. This image showing surface S is completely behind the surface S', by checking ...
S. M.'s user avatar
  • 117
0 votes
1 answer
252 views

I want to tweak the alpha value based on the distance to the camera. But I see no way of passing the vertex position on to the surface function using surface shaders. Not a problem with frag shader. ...
AzulShiva's user avatar
  • 679
-1 votes
1 answer
278 views

Is it possible with HLSL (or other popular shader languages) to pass instead of an image, an equation that would define the pixel color / position output by the shader? This would allow for more ...
alaokastrail's user avatar
1 vote
1 answer
858 views

I wrote wind shader that works but as you can see it have shadow problem! when I animating vertices shadow is fixed! ...
Seyed Morteza Kamali's user avatar
0 votes
0 answers
34 views

I have a surface shader that adds a bit of positional noise, using the following code: ...
PearsonArtPhoto's user avatar