The S-4 is a sculpting sampler designed to capture and transform sounds. Merging tape-era workflows with cutting-edge technology, the S-4 redefines sound mangling by providing a futuristic platform for crafting unique soundscapes and compositions, using samples and real-time audio processing.
You can get around some of these by loading your sample into an oscillator slots wavetable and walking through it with an LFO or an envelope. Although I would also prefer more functionality in the dedicated sampler module.
My suggestion is to integrate an existing open source sampler code to Vital (no need to reinvent the wheel). There is a GitHub open source project called HISE (for VST plug-in development ) which includes sampler that practically has all the necessary features.
I understand this can reduce texture samplers so is good for landscape when you run into the limit easily, but what about just using it in a regular material (where you are not necessarily hitting limits, you just want to reduce samplers to help the GPU)?
A sampler is a GPU resource that stores the settings for a texture sampling (aka: reading) operation. It stores settings like wrap mode (clamp, repeat?) and filter (point, linear?). GPUs have a limited number of samplers that can be loaded at the same time (usually 16, but sometimes less on mobile), but you can re-use the same sampler resource to sample different textures in the same shader, allowing you to access way more different textures on the same shader than 16.
I apologize for resurrecting this necro-thread, but I have two good reasons for doing so. First, the fact that this thread still comes up first on a Google search of the topic (and reliably so, in my experience) suggests many people refer to this thread to solve the same problem. Second, I was motivated by this thread to do some further research and found resources worth sharing.
Based on the sources cited above, my current understanding is that shared samplers are an effective optimization as long as the sampler state settings are compatible, and that there is essentially no downside to declaring Shared Wrap sampler mode in UE. The compiler will figure out what sharing is possible and revert to individual samplers if required, so some Materials may not benefit as much.
One question that I have pondered is whether the input texture coordinates (typically UV) have to be the same for a sampler to be shared. As I read the source articles, they do not. The sampler state would be shared, but each sample operation is (by definition) on a different texture, and the coordinates would be passed as part of that operation.
Thus, as I understand it, the use of multiple scaling/tiling or variation of UV coordinates would not introduce additional samplers and would incur only the multiple sample operations that are already required because of the multiple textures. If someone with graphics programming expertise reads this, please confirm or refute this assertion to enlighten me and probably many others.
As I understand the cited sources, the sampler is created based on the texture and is reused many times even if it only appears once in the shader graph. Consider that the UVs change with every fragment being rendered, so the overhead of creating a new sampler for every sample query would be staggering.
Our collection includes over 700 needlework samplers ranging from as early as the 1400s, to pieces stitched in the 20th century. They offer a fascinating insight into the practice and teaching of an important domestic craft. Find out how the social and educational significance of samplers has changed over time, as well as their form and function.
Such stitch and pattern collections may have been assembled in a number of cultures where decorative needlework was widely practised. Early examples rarely survive, but the quality of the oldest surviving samplers suggests they were made by experienced hands, as well as children, (in many cultures learning needlework was an important part of a young girl's education). The earliest in our collection were found in Egyptian burial grounds, and probably date from the 14th or 15th centuries.
16th century samplers
References in contemporary literature and inventories suggest that in Tudor England, samplers had a very particular identity as a form of reference work. An 'exampler for a woman to work by' is the definition given in John Palsgrave's Anglo-French dictionary of 1530. The first pattern book for embroidery was published in Germany in the early 1520s, and was followed by others in Germany, Italy, France and England. Despite the increasing availability of these books, most embroiderers in the 16th century would still have relied mainly on physical examples of their craft for inspiration and the transfer of specific skills.
Another example, made in England by a woman called Jane Bostocke in 1598, is somewhere between a reference piece and a demonstration of its maker's skill. The earliest known sampler to include an embroidered date, it also carries an inscription commemorating the birth of a child, Alice Lee, two years earlier. The quality of the embroidery is very high, and Jane Bostocke may have been a member of the family's household employed for her needlework skills.
By about 1630, a characteristic shape and size of band sampler was becoming recognisable, typically filled with rows of repeating patterns worked in coloured silks, sometimes interspersed with figures or floral motifs. The earliest signed and dated band sampler in our collection was worked by Mildred Mayow in 1633. This may be an early example of a particular school or teacher's influence, as at least two other very similar versions of the piece are known to exist. The composition of band samplers, along with evidence of unpicking, and the variety of stitches used, indicates their increasing use as a teaching tool.
Needlework skills were important for the future management of a girl's household, and the personal adornment of herself and her family. Alphabets allowed girls to practice the marking of linen (sheets, undergarments and other personal items were named so they came back to their right owners after wash day), while spot motifs and border patterns could be used to decorate both clothes and domestic furnishings.
She went on to embroider the complex panels of a casket in 1671 (wealthy girls used decorated caskets to store small personal possessions), a jewellery case in 1673, and a series of other items, all of which are in the Museum's collection. Martha dated these objects, perhaps to mark them as significant achievements in the course of her domestic education.
As the 18th century progressed, samplers were increasingly embroidered on woollen rather than linen grounds. A woollen surface could easily be worked with the diminishing range of stitches in a young girl's repertoire, with tent (diagonal) stitch and cross stitch beginning to dominate. But linen was retained as a ground for a particular type of sampler worked in a kind of needle lace called 'Hollie Point'. Based on patterns or letters formed with tiny buttonhole stitches, this intricate skill was used to create the highly decorated baby clothes that became fashionable in the second half of the 18th century.
Samplers in which the maker demonstrated her darning skills provide evidence of utility in sampler-making. A piece by Eliza Broadhead, a pupil at the Quaker school at Ackworth in Yorkshire in 1785, is an unapologetically utilitarian demonstration of the skills a young girl would need later in life to mend holes in her family's clothes. Darning samplers were also worked in the Netherlands but are often more elaborate and more likely to be signed than their English counterparts, like one made by Gerarda Gerritsen in Middelburg in 1763, when she was 13.
Sometimes the scale of these geographical pieces was far more modest. For example, in a sampler worked by an unknown embroiderer in 1790, we are given a very precise view of the field layout of 'The Farm Called Arnolds', a property in Essex.
19th century
Samplers became an increasingly standardised and undemanding exercise in late 18th and early 19th century England, so more imaginative examples easily stand out. Two samplers in our collection worked by sisters Mary and Elizabeth Richards around 1800 are similar enough in style to suggest a shared upbringing.
Another standout example includes a unique confessional text-only sampler made by teenager Elizabeth Parker around 1830, who had been working as a nursemaid. Parker's text describes what she sees as her weaknesses and sins, her cruel mistreatment at the hands of her employers, and an abortive plan to kill herself, though thankfully, she actually died in 1889, aged 76.
In England, by the 19th century the sampler had become mostly a schoolroom exercise worked almost exclusively in cross stitch. However various pieces in our collection represent how the European sampler was still used as a tool of reference. These include a piece worked in black cotton in a style typical of the Vierlande area of northern Germany; a cutwork and drawn thread sampler made in the Swedish province of Skne in 1863; and a group of drawn thread samplers bought new from the Gewerbeschule fr Mdchen in Hamburg (a training school for girls) in 1885. Nineteenth-century samplers acquired from Turkey and Morocco, with their randomly placed patterns suitable for decorating clothing and household linen, also recall the early function of English samplers as collections of designs and stitch effects.
Samplers in the 20th century
The upheavals of the First World War contributed to the further decline of the sampler in the 20th century. However needlework guilds and art schools, alongside dedicated individuals, helped to keep needlework skills alive. The V&A was part of this movement and in 1910 commissioned Louisa Pesel, a well-known embroiderer, to make a series of stitch samplers documenting historic English stitches. These samplers were used by the Museum as a teaching aid, and have since been accessioned into the collections as objects of significance in their own right.