I’m trying to make shader-embedded sprites like the gel bubbles in Portal 2, but I’m running into an issue when making the UV texture.
To illustrate, I made a perfectly linear gradient in Photoshop (0-255) and brought it into UDK to use as texture coordinates.
Here is the test diffuse texture using UDK’s procedural texture coordinates.
Here is the test diffuse texture using the gradient I made in Photoshop as texture coordinates.
Here is the test diffuse texture using the gradient I made raised to the power 0.48. This is the closest I could get it to match UDK’s procedural texture coordinates.
Does anyone know how I can get this to work?