Jump to content

SpiderPig

Members
  • Posts

    2,285
  • Joined

  • Last visited

Posts posted by SpiderPig

  1. Can tessellation be performed on a mesh made of points or does it only work for triangles and quads?  I'm thinking of creating more points around an input point based on camera distance and then passing those points to the geometry shader.

  2. A few years ago I switched to Dark Mode in nearly everything screen related.  After a bit of eye trouble the last six months I've switched back to light mode for a bit and have found it actually feels like less strain on my eyes.  I always thought that the lower light levels were better for your eyes, but I've found that darker words on a white background are easier to ready than white words on a dark background.  Now it might be because I'm getting old, but it got me thinking if dark mode might not be all its cracked up to be.  Has anyone any thoughts on this?  I'm just curious. ^_^

  3. Some of my shader families have the extension .fam and when loading the material it will fail to load the shader family because it's appending .json to the end.  Can it be made so that if the extension is specified it doesn't append .json to the end?

    Error: Failed to read file "C:/UltraEngine/Projects/TheSeventhWorld/Shaders/Materials/MyFamily.fam.json"

    Material:

    {
    	"material":
    	{
    		"version": 100,
    		"color": [ 1.0,  1.0,  1.0,  1.0 ],
    		"emission": [ 0.0,  0.0,  0.0 ],
    		"metallic": 0.0,
    		"roughness": 0.0,
    		"transparent": false,
    		"occlusionInfo": true,
    		"occlusionScale": 1.0,
    		"normalScale": 1.0,
    		"shaderFamily": "MyFamily.fam"
    	}
    }
    
  4. Just tried this out.  It works but doubles up on the texture uri's in the gltf file?  Is this intended?

    	"images": [
    		{
    			"uri": "PineLeaves_DIFF.png"
    		},
    		{
    			"uri": "PineLeaves_DIFF.dds"
    		},
    		{
    			"uri": "PineLeaves_NORM.png"
    		},
    		{
    			"uri": "PineLeaves_NORM.dds"
    		},
    		{
    			"uri": "PineTrunk_DIFF.png"
    		},
    		{
    			"uri": "PineTrunk_DIFF.dds"
    		},
    		{
    			"uri": "PineTrunk_NORM.png"
    		},
    		{
    			"uri": "PineTrunk_NORM.dds"
    		}
    	]

    I also can't load the converted images into GIMP.  I know it's a plugin issue, but I've not heard of this format.  Just checking it's all good?

    GimpError_001.png.bf7865b802d314c89c39a77b7cb5d91e.png

  5. Yeah that's a good approach.  Personally I like the idea of selecting which entities should have fixed visibily, especially for UI.  But enlarging the frustrum may have uses too.

  6. Oh I just have some simple meshes rendering to the UI camera, and I move them about, in and out of view for reasons too complex to explain.  I've mentioned before that especially in debug mode the culling is quite slow at the moment.  I thought If I could turn off culling for the UI camera it would probably solve the small issue, that's all.

×
×
  • Create New...