.NET pixel shaders support up to 4 input textures. In the jargon of GPU shaders, a texture is the input (image, Silverlight Ui, etc) that is sampled before returning the new pixel color value.
One common effect used in shaders it to alter the look of the main image by using a second texture as a [...]
Category Archive for 'Help'
Shazzam 1.2 offers four ways to stretch the view of your samples.
Figure 1. the new Image Stretch menu.
Examples of each of the Image Stretch modes.
Figure 2: Original Image
In the following screenshots the work area is deliberately sized to a narrow width in order to show the differences in the stretch modes.
Figure [...]
Silverlight and WPF are different beasts. The similarities between the two is high, but there are enough differences to foul you up now and then.
Choose your platform preference
There is a new addition to the Settings pane. The code generation engine will consider your desired platform when generating the .NET classes.
Figure 1: Target Framework setting.
As [...]
Learn more about the features available in Shazzam 1.1.
HLSL Meta Tags – Controlling defaults
Better Edit Controls
Animation
Better Silverlight Support
Install your own copy of the free Shazzam Pixel Shader Utility here.
Some video tutorials are available also.
Creating shaders is fun. But it’s more thrilling to see what your new shader can do. Shazzam has a testing screen for just that purpose, giving you a place to experiment with your effect, just choose the ‘Change Shader Settings’ tab.
Figure1 : Change Shader Settings tab.
The Edit Shader Property control
What happens when you compile [...]
In HLSL code you can create input parameters of various datatypes. Here’s one of the simplest scalar types, the float.
float – 32-bit floating point value.
There are a number of vector types too.
float2 – two dimensional float vector. float3 – three dimensional float vector. [...]