Highlighted

RenderToTexture with RectangleTexture causes Runtime Error and presents black screen

New Here ,
Jun 23, 2014

Copy link to clipboard

Copied

Problem Description:
Please see RTTtest.as first(https://bugbase.adobe.com/index.cfm?event=bug&id=3776210), run time error occurs on iOS devices ( I have test two devices: iPad2 and iPhone 5 )

Error: Error #3604: Sampler 0 binds a texture that is also bound for render to texture.
at flash.display3D::Context3D/drawTriangles()
at RTTtest/RenderTT()
at RTTtest/_OnEnterFrame()

Lines between 159~189 present some of my testing results, some are correct and the others are incorrect.

In addition, I also have test "On AIR Simulator" and nexus 7 2013, the error does not produces.

Steps to Reproduce:
1. directly executes the RTTtest.as on iPhone 5.
will see the error ( on debug mode )

2. Commenting line:169-170, and un-comment line:172-178 does not produce error.

Actual Result:
if ignoring the error, the render texture presents black, therefore the screen presents black.

Expected Result:
The testing program draws two triangles, the one is blue, and the other is red.

Test Configuration

My Hardware and Environment details:
Build environment:
Intel Core i7 CPU 930, 8.0 GB RAM, FlashBuilder 4.7, Windows 7 64-bits

Testing device environment
iPhone 5, iOS version 7.1.1 (11D201)

TOPICS
Performance issues

Views

173

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

RenderToTexture with RectangleTexture causes Runtime Error and presents black screen

New Here ,
Jun 23, 2014

Copy link to clipboard

Copied

Problem Description:
Please see RTTtest.as first(https://bugbase.adobe.com/index.cfm?event=bug&id=3776210), run time error occurs on iOS devices ( I have test two devices: iPad2 and iPhone 5 )

Error: Error #3604: Sampler 0 binds a texture that is also bound for render to texture.
at flash.display3D::Context3D/drawTriangles()
at RTTtest/RenderTT()
at RTTtest/_OnEnterFrame()

Lines between 159~189 present some of my testing results, some are correct and the others are incorrect.

In addition, I also have test "On AIR Simulator" and nexus 7 2013, the error does not produces.

Steps to Reproduce:
1. directly executes the RTTtest.as on iPhone 5.
will see the error ( on debug mode )

2. Commenting line:169-170, and un-comment line:172-178 does not produce error.

Actual Result:
if ignoring the error, the render texture presents black, therefore the screen presents black.

Expected Result:
The testing program draws two triangles, the one is blue, and the other is red.

Test Configuration

My Hardware and Environment details:
Build environment:
Intel Core i7 CPU 930, 8.0 GB RAM, FlashBuilder 4.7, Windows 7 64-bits

Testing device environment
iPhone 5, iOS version 7.1.1 (11D201)

TOPICS
Performance issues

Views

174

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 23, 2014 0

Have something to add?

Join the conversation