FShade
FShade copied to clipboard
FShade is a Library allowing users to write Shaders in F# using code-quotations
We do not have a sample method to abstract this texture function: https://registry.khronos.org/OpenGL-Refpages/gl4/html/textureLodOffset.xhtml
I've tried to use a function with a prime character in its name in a compute shader (like we do so often in the f# world). This is translated 1:1...
I currently use a local helper to use this intrinsic function: ``` /// x < edge ? 0.0 : 1.0 [] let step (edge : 'a) (x : 'a) :...
It is not possible to define varyings with multiple interpolation qualifiers, e.g. "noperspective" and "sample". The `Interpolation` attribute can only be defined once and does not allow multiple arguments. This...
It's not possible to use an image e.g. with Formats.r32i since ImageXX has an IFloatingValue type constraint. It looks like we would need other image types e.g. Image2i to support...
In order to visualize the derived tessellation level using vertex colors I wanted to pass an outer tessellation level from the control shader to the evaluation shader. Unfortunately the shader...
Is it possible to simulate or create an `Arr` of a product type? ``` type Shape = {ctr : V3d; size : V2d; _type : int} let shapes : Arr...
This is a question not an issue. I am new to Shaders (but not F#) . Can I use this to write WebGL? What would be the best strategy to...
It would have been really helpful when I was messing with this a few months ago and couldn't figure out how to do "distance" :). Thanks for all the hard...
https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/textureLodOffset.xhtml