Tagged Questions
0
votes
1answer
54 views
Are there shaders or at least shader like things in Swing?
Is there? Because I'm wondering if it supports GLSL, HLSL, or it's own shading language? I don't know much about Swing graphics. Does anyone know?
0
votes
0answers
54 views
How calculate distance for fog effect model in xna?
I struggled for some time to add a fog effect in my xna games.
I'm working with a custom shader effect in a file (. Fx).
The "PixelShaderFunction" works without error. But the problem is that all my ...
3
votes
1answer
91 views
Messed up UVs in Unity3D for Android
All of my quads appear correctly textured on the Unity3D editor, a Motorola Xoom Android tablet, and on an iPad 2:
But on our Samsung Galaxy Mini 2 smartphone they kinda look like this:
I wrote ...
5
votes
1answer
253 views
Changing water color based on depth
I'm looking to make a water shader that colors the water based on its depth. Up until now my water shader that I've used has basically been extremely reflective and only looked somewhat blue because ...
0
votes
0answers
80 views
Opengl binding shaders vs binding buffers performance
Quick question for an opengl guru, I'm in the process of building a render queue and can either reduce the number of shader binding or the number of vertex buffer binding. I just want to know which ...
30
votes
2answers
2k views
How to render realistic ice?
I am trying to write an ice shader in Unity that looks good and at least semi-realistic.
If the following shot (found on Google) was CG, what would its shader include? (the foreground cave). I might ...
1
vote
2answers
155 views
Why is antialiasing dependent on sampling?
I am thinking about the best ways to render two dimensional objects in the highest detail possible using modern graphics technology and it occurred to me that when I simplify a situation enough, I ...
10
votes
2answers
1k views
Realistic metal shader
How do you create a good metal shader?
For different metals and say more or less eroded / rusty and so on.
I know that one difference from ordinary materials is that metal should 'colour' the ...
3
votes
1answer
689 views
How'd they do it: TF2 payload cart glow?
How did the creators of TF2 make the glow on the payload cart visible through walls? Is it possible to implement this in Unity's shaderlab?
4
votes
2answers
793 views
Real time reflections
I just had a quick look at the new Crysis 2 DX11 update, and was quite surprised by some of the new features, especially the real time reflections on moving models. From what I could gather, there are ...
7
votes
1answer
242 views
Overview/showcase of shader techniques/uses for games
I am looking for resources that can provide me with a better understanding of what kind of things shaders are used for in games, what they can do, and maybe even more importantly, what they cannot. I ...
14
votes
1answer
2k views
The practical cost of swapping effects
I use XNA for my projects and on those forums I sometimes see references to the fact that swapping an effect for a mesh has a relatively high cost, which surprises me as I thought to swap an effect ...
4
votes
2answers
480 views
What does the term 'photorealistic' really mean?
I was wondering about the term 'photorealistic' in regards to rendering and was wondering how this is used.
Is it used to describe a shader (or set of) that have certain quantifiable features? Or any ...
1
vote
1answer
449 views
Porting an HLSL 3.0 shader to 2.0?
I have a couple of .fx files from a Shader-Based 2D Shadows example. I want to utilize the same kind of technique with XNA 4.0's Reach profile, which if I understand correctly needs to have HLSL 2.0 ...
6
votes
2answers
966 views
Looking for an example of glass with XNA or DirectX 9
Any good pointers on how to get the refractive look of glass? I'm looking to create a think piece of glass type of look, sort of the type that you'd have on bathroom shower doors.
12
votes
3answers
873 views
HLSL Translucent Plastic Shader
I'm trying to produce a shader to replicate a white plastic object with a colored light inside. Either by having a shader that will be translucent and if I put a light inside the object the light will ...
13
votes
7answers
7k views
What are some cool examples of procedural pixel shader effects? [closed]
What are some good examples of procedural or screen-space pixel shader effects? No code is necessary; I'm just looking for inspiration.
In particular, I'm looking for effects that are not dependent ...
6
votes
2answers
495 views
What is a good alternative to Unified Shader for Shadows?
Most shadow systems I have seen use a unified shader system for shadowing techniques, resulting in an uber shader for the projects.
What alternatives do you find work well or is the unified shader ...